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

staSetFieldNames the signature field to augment; the operation behind SetPAdESSignatureTimeStampField
staSetDigestSelects the digest algorithm for the signature value; the operation behind SetPAdESSignatureTimeStampDigestAlgorithm
staGetHashReturns the message imprint of the signature value; the operation behind GetPAdESSignatureValueHashHex
staGetCMSReturns the CMS bytes of the signature; the operation behind GetPAdESSignatureCMSBytes
staSetTokenValidates and injects a time-stamp token; the operation behind SetPAdESSignatureTimeStampToken
staSetCMSStages complete replacement CMS bytes; the operation behind SetPAdESSignatureCMSBytes
staApplyCompletes the signature time-stamp; the operation behind ApplyPAdESSignatureTimeStamp

See also

TPDFlibSignatureTimeStampRun, TPDFlibPAdESProcessResult, ApplyPAdESSignatureTimeStamp