EndPAdESSignatureTimeStampProcessToStream

Security and Signatures

Requires the Enterprise edition. In Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged. Other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

Applies the staged augmented CMS bytes and writes the timestamped PDF to a stream.

Syntax

Delphi

Function TPDFlib.EndPAdESSignatureTimeStampProcessToStream(STSProcessID: Integer; OutputStream: TStream): Integer; Virtual;

Parameters

STSProcessIDValue returned by one of the NewPAdESSignatureTimeStampProcessFrom* functions.
OutputStreamDestination stream.

Return values

Returns the process result code from the apply operation, or 0 for an invalid process id.

See also

GetPAdESSignatureTimeStampProcessResult, ReleasePAdESSignatureTimeStampProcess