/// <summary> /// This function allows the Owner (or a person granted ViewRightsData right) /// to extract the original publishing information that was encrypted during publishing process. /// </summary> public UnsignedPublishLicense DecryptUnsignedPublishLicense(CryptoProvider cryptoProvider) { if (cryptoProvider == null) { throw new ArgumentNullException("cryptoProvider"); } return(cryptoProvider.DecryptPublishLicense(_serializedPublishLicense)); }
/// <summary> /// This function allows the Owner (or a person granted ViewRightsData right) /// to extract the original publishing information that was encrypted during publishing process. /// </summary> public UnsignedPublishLicense DecryptUnsignedPublishLicense(CryptoProvider cryptoProvider) { SecurityHelper.DemandRightsManagementPermission(); if (cryptoProvider == null) { throw new ArgumentNullException("cryptoProvider"); } return(cryptoProvider.DecryptPublishLicense(_serializedPublishLicense)); }
/// <summary> /// This function allows the Owner (or a person granted ViewRightsData right) /// to extract the original publishing information that was encrypted during publishing process. /// </summary> public UnsignedPublishLicense DecryptUnsignedPublishLicense(CryptoProvider cryptoProvider ) { SecurityHelper.DemandRightsManagementPermission(); if (cryptoProvider == null) { throw new ArgumentNullException("cryptoProvider"); } return cryptoProvider.DecryptPublishLicense(_serializedPublishLicense); }