I_IrmCrypt Class

Last modified: October 07, 2009

Applies to: SharePoint Foundation 2010

Represents a cryptographic object capable of encrypting and decrypting rights-managed content, as well as encoding and decoding unencrypted content from binary file formats.

I_IrmCrypt: public IUnknown

The actual encryption and decryption of rights-managed documents is performed by the I_IrmCrypt object, rather than the IRM protector itself. In addition, the I_IrmCrypt object performs the encoding and decoding of unencrypted data included in the protected document.

When creating a protected document, a protector can use the I_IrmPolicyInfoRMS.HrGetICrypt Methodmethod to access the I_IrmCrypt object that is instantiated for the current document.