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 LongDLL
int DLGetTimeStampStatus(int InstanceID);Return values
| 0 | granted |
|---|---|
| 1 | grantedWithMods |
| 2 | rejection |
| 3 | waiting |
| 4 | revocationWarning |
| 5 | revocationNotification |
| -1 | The 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