EndPAdESSignatureTimeStampProcessToString

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 an empty string and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

Applies the staged augmented CMS bytes and returns the timestamped PDF as bytes in an AnsiString

Syntax

Delphi

Function TPDFlib.EndPAdESSignatureTimeStampProcessToString(STSProcessID: Integer): AnsiString; Virtual;

DLL

const char* DLEndPAdESSignatureTimeStampProcessToString(int InstanceID, int STSProcessID, int* ByteCount);

ActiveX

Function PDFlib::EndPAdESSignatureTimeStampProcessToString(STSProcessID As Long) As Variant

Parameters

STSProcessIDValue returned by one of the NewPAdESSignatureTimeStampProcessFrom* functions

Return values

Returns the timestamped PDF bytes, or an empty string when the process id is invalid or apply fails

See also

GetPAdESSignatureTimeStampProcessResult, ReleasePAdESSignatureTimeStampProcess