TPDFlibTimeStampFetch
Data types, security and signatures
Description
Obtains a time-stamp token from the configured authority for FetchTimeStampToken.
TPDFlib declares the public methods and a protected dispatch method for fetching an RFC 3161 time-stamp token. The edition class supplies the implementation as a callback of this type. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_ENTERPRISE_REQUIRED. Application code never declares, assigns or calls a value of this type.
Syntax
Delphi
TPDFlibTimeStampFetch = Function(Const MessageDigestHex: AnsiString): AnsiString Of Object;Parameters
| MessageDigestHex | Hex digest of the data being stamped; its length has to match the algorithm set with SetTimeStampOptions |
|---|
Return values
| T | |
| Empty string | The exchange failed; GetTimeStampError carries the reason |