GetPAdESSignatureTimeStampProcessResult

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

Returns the last result code recorded by a PAdES signature-time-stamp process

Result code 17 means that the signature cannot receive a time stamp because a later signature or document time stamp in the file covers its signature value; rewriting that value would invalidate the later signature, so the process stops without producing output

Syntax

Delphi

Function TPDFlib.GetPAdESSignatureTimeStampProcessResult(STSProcessID: Integer): Integer; Virtual;

ActiveX

Function PDFlib::GetPAdESSignatureTimeStampProcessResult(STSProcessID As Long) As Long

DLL

int DLGetPAdESSignatureTimeStampProcessResult(int InstanceID, int STSProcessID);

Parameters

STSProcessIDValue returned by one of the NewPAdESSignatureTimeStampProcessFrom* functions

Return values

Returns the stored process result code, or 0 for an invalid process id

See also

EndPAdESSignatureTimeStampProcessToFile