PublishLicense.DecryptUnsignedPublishLicense(CryptoProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a decrypted UnsignedPublishLicense version of this signed PublishLicense.
public:
System::Security::RightsManagement::UnsignedPublishLicense ^ DecryptUnsignedPublishLicense(System::Security::RightsManagement::CryptoProvider ^ cryptoProvider);
public System.Security.RightsManagement.UnsignedPublishLicense DecryptUnsignedPublishLicense (System.Security.RightsManagement.CryptoProvider cryptoProvider);
member this.DecryptUnsignedPublishLicense : System.Security.RightsManagement.CryptoProvider -> System.Security.RightsManagement.UnsignedPublishLicense
Public Function DecryptUnsignedPublishLicense (cryptoProvider As CryptoProvider) As UnsignedPublishLicense
Parameters
- cryptoProvider
- CryptoProvider
The rights management service to use for decrypting the license.
Returns
A decrypted, unsigned version of this license.
Exceptions
cryptoProvider
is null
.
Remarks
The DecryptUnsignedPublishLicense method allows the license owner and users who were granted ViewRightsData to extract the original information that was encrypted when the PublishLicense was created.