EncryptionProvider.DecryptStream Method
Decrypts and returns a stream of encrypted data for a document.
Syntax
expression.DecryptStream(SessionHandle, StreamName, EncryptedStream, UnencryptedStream)
expression An expression that returns a EncryptionProvider object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| SessionHandle | Required | Long | The ID of the current session. |
| StreamName | Required | String | The ID of the stream of data. |
| EncryptedStream | Required | IUnknown | The encrypted data stream. |
| UnencryptedStream | Required | IUnknown | The data stream before dencryption. |
Remarks
This method is called by your COM add-in when the document is opened, and after your add-in has verified that the user opening the document is authenticated. This method is the inverse of EncryptStream method and converts encrypted data back into pure (un-encrypted) data.