EncryptionProvider Members

Include Protected Members
Include Inherited Members

Provides the methods for setting up permissions, applying the cryptography of the underlying encryption and decryption, and user authentication.

The EncryptionProvider type exposes the following members.

Methods

  Name Description
Public method Authenticate Used to determine whether the user has the proper permissions to open the encrypted document.
Public method CloneSession Creates a second, working copy of the EncryptionProvider object’s encryption session for a file that is about to be saved.
Public method DecryptStream Decrypts and returns a stream of encrypted data for a document.
Public method EncryptStream Encrypts and returns a stream of data for a document.
Public method EndSession Ends the current encryption session.
Public method GetProviderDetail Displays information about the encryption of the current document.
Public method NewSession Used by the EncryptionProvider object to create a new encryption session. This session is used by the provider to cache document-specific information about the encryption, users, and rights while the document is in memory.
Public method Save Saves an encrypted document.
Public method ShowSettings Used to display a dialog of the encryption settings for the current document.

Top

See Also

Reference

EncryptionProvider Interface

Microsoft.Office.Core Namespace