Modifica

Condividi tramite


EncryptionProvider.DecryptStream(Int32, String, Object, Object) Method

Definition

Decrypts and returns a stream of encrypted data for a document.

public:
 void DecryptStream(int SessionHandle, System::String ^ StreamName, System::Object ^ EncryptedStream, System::Object ^ UnencryptedStream);
public void DecryptStream (int SessionHandle, string StreamName, object EncryptedStream, object UnencryptedStream);
abstract member DecryptStream : int * string * obj * obj -> unit
Public Sub DecryptStream (SessionHandle As Integer, StreamName As String, EncryptedStream As Object, UnencryptedStream As Object)

Parameters

SessionHandle
Int32

The ID of the current session.

StreamName
String

The ID of the stream of data.

EncryptedStream
Object

The encrypted data stream.

UnencryptedStream
Object

The data stream before decryption.

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(Int32, String, Object, Object) method and converts encrypted data back into pure (un-encrypted) data.

Applies to