GetEncryptedPayloadContentToStream

Security and encryption

Description

Writes the complete encrypted PDF payload from the selected unencrypted wrapper to a Delphi stream

Syntax

Delphi

Function TPDFlib.GetEncryptedPayloadContentToStream(OutStream: TStream): Integer;

Parameters

OutStreamExisting writable stream that receives the payload at its current position

Return values

1The payload was written
0The stream is unavailable or no valid wrapper is selected

See also

GetEncryptedPayloadContentToFile, GetEncryptedPayloadContentToString