Table of contents
TOC
Collapse the table of content
Expand the table of content

EncryptionProvider.DecryptStream Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

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

NameRequired/OptionalData TypeDescription
SessionHandleRequiredLongThe ID of the current session.
StreamNameRequiredStringThe ID of the stream of data.
EncryptedStreamRequiredIUnknownThe encrypted data stream.
UnencryptedStreamRequiredIUnknownThe 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.

See also

Concepts

EncryptionProvider Object

Other resources

EncryptionProvider Object Members

© 2018 Microsoft