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
| OutStream | Existing writable stream that receives the payload at its current position |
|---|
Return values
| 1 | The payload was written |
|---|---|
| 0 | The stream is unavailable or no valid wrapper is selected |
See also
GetEncryptedPayloadContentToFile, GetEncryptedPayloadContentToString