EncryptionProvider.Authenticate(Object, Object, UInt32) 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.
Used to determine whether the user has the proper permissions to open the encrypted document.
public:
int Authenticate(System::Object ^ ParentWindow, System::Object ^ EncryptionData, [Runtime::InteropServices::Out] System::UInt32 % PermissionsMask);
public int Authenticate (object ParentWindow, object EncryptionData, out uint PermissionsMask);
abstract member Authenticate : obj * obj * uint32 -> int
Public Function Authenticate (ParentWindow As Object, EncryptionData As Object, ByRef PermissionsMask As UInteger) As Integer
Parameters
- ParentWindow
- Object
Specifies the window that is called to display the encryption settings.
- EncryptionData
- Object
Contains the encrypted data for the current document.
- PermissionsMask
- UInt32
The user interface displayed by the encryption provider add-in.
Returns
Integer
Remarks
This is where your COM add-in encryption provider displays whatever user interface is applicable for applying encryption. For example, a password encryption provider would prompt for the user's password.