TPDFlibSignatureTimeStampAction
Data types, security and signatures
Description
Selects which step of a signature time-stamp process a dispatched call stands for. The value travels with the Action parameter of the TPDFlibSignatureTimeStampRun callback.
TPDFlib declares the public methods and a protected dispatch method for adding an RFC 3161 signature time-stamp to a signature. The edition class supplies the implementation as a callback, and this value tells the callback which public method is calling. 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 passes a value of this type.
Syntax
Delphi
type TPDFlibSignatureTimeStampAction = (staSetField, staSetDigest, staGetHash, staGetCMS, staSetToken, staSetCMS, staApply);Values
| staSetField | Names the signature field to augment; the operation behind SetPAdESSignatureTimeStampField |
|---|---|
| staSetDigest | Selects the digest algorithm for the signature value; the operation behind SetPAdESSignatureTimeStampDigestAlgorithm |
| staGetHash | Returns the message imprint of the signature value; the operation behind GetPAdESSignatureValueHashHex |
| staGetCMS | Returns the CMS bytes of the signature; the operation behind GetPAdESSignatureCMSBytes |
| staSetToken | Validates and injects a time-stamp token; the operation behind SetPAdESSignatureTimeStampToken |
| staSetCMS | Stages complete replacement CMS bytes; the operation behind SetPAdESSignatureCMSBytes |
| staApply | Completes the signature time-stamp; the operation behind ApplyPAdESSignatureTimeStamp |
See also
TPDFlibSignatureTimeStampRun, TPDFlibPAdESProcessResult, ApplyPAdESSignatureTimeStamp