EndPAdESSignatureTimeStampProcessToStream

Security and Signatures

Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); this method is Pascal-only: it takes a Delphi stream object, which the C and Automation ABIs do not carry, so no DLL, ActiveX or Dylib build exports it; other editions keep the method, which returns 0 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