GetTimeStampStatus

Digital 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 RFC 3161 status the authority reported for the last exchange

Syntax

Delphi

Function TPDFlib.GetTimeStampStatus: Integer; Virtual;

ActiveX

Function PDFlib::GetTimeStampStatus() As Long

DLL

int DLGetTimeStampStatus(int InstanceID);

Return values

0granted
1grantedWithMods
2rejection
3waiting
4revocationWarning
5revocationNotification
-1The exchange never reached a valid response

Remarks

Only 0 and 1 carry a usable token. The accompanying free text, when the authority sent any, is available through GetTimeStampError

See also

GetTimeStampError, FetchTimeStampToken