GetEncryptedPayloadContentToString

Security and encryption

Description

Returns the complete encrypted PDF payload from the selected unencrypted wrapper as binary string data

Syntax

Delphi

Function TPDFlib.GetEncryptedPayloadContentToString: AnsiString;

DLL

const char* DLGetEncryptedPayloadContentToString(int InstanceID);

Return values

The exact embedded payload bytes, or an empty string when no valid wrapper is selected

Remarks

DLL callers use StringResultLength because the returned buffer can contain embedded zero bytes and remains owned by the library instance

See also

GetEncryptedPayloadContentToFile, SetEncryptedPayloadFromString