TPDFlibPAdESValidationKind
Data types, security and signatures
Description
Selects which PAdES promotion a dispatched call stands for. The value travels with the Kind parameter of the TPDFlibPAdESValidationRun callback; together with the output destination it names the public method.
TPDFlib declares the public methods and a protected dispatch method for the one-call promotion of a signed PDF to PAdES B-LT or B-LTA. 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 TPDFlibPAdESValidationKind = (pvkLongTerm, pvkArchive);Values
| pvkLongTerm | Promotion to PAdES B-LT that attaches validation material; the operation behind ApplyPAdESLongTermValidation and ApplyPAdESLongTermValidationToStream |
|---|---|
| pvkArchive | Promotion to PAdES B-LTA that also appends a document time-stamp; the operation behind ApplyPAdESLongTermArchiveValidation and ApplyPAdESLongTermArchiveValidationToStream |
See also
TPDFlibPAdESValidationRun, ApplyPAdESLongTermValidation, ApplyPAdESLongTermArchiveValidation