VerifyAdESHistorical
security and signatures
Requires the Enterprise edition — part of the Enterprise signature verification surface in TPDFlibSignatureVerifier (unit PDFlibEntSignVerify)
Description
Selects a signature field by zero-based index and runs AdES historical validation for the selected signer at the requested UTC time.
The field index is resolved to a name and the call delegates to VerifyAdESHistoricalByName, which validates signature integrity, the signer chain, and the timestamp evidence that can move the effective validation time.
Syntax
Delphi
Function TPDFlibSignatureVerifier.VerifyAdESHistorical(SignatureIndex, SignerIndex: Integer;
RevocationMode: TPDFlibSignatureRevocationMode;
ValidationTime: TDateTime;
Out Report: TPDFlibAdESHistoricalValidationReport): TPDFlibSignatureVerifierResult;Parameters
| SignatureIndex | Zero-based signature field index |
|---|---|
| SignerIndex | Zero-based CMS signer index within the signature |
| RevocationMode | srmNone lets a trusted timestamp supply the historical control time; srmCacheOnly and srmOnline additionally require an archived whole-document timestamp before DSS evidence counts as historical |
| ValidationTime | UTC validation time; 0 selects the current UTC time |
| Report | Receives integrity, requested and effective chain reports, best signature and archive times, proof source, timestamp counts, and the historical status |
Return values
| vsValid | The chain is valid at the requested time (ahsValidAtRequestedTime) or at a trusted timestamp-derived proof time (ahsValidAtProofTime) |
|---|---|
| vsInvalid | Integrity failed, no trusted proof exists, the evidence is not archived, or the chain is invalid at every derived control time |
| vsUnknown | No document is open or the field index is out of range |
See also
TPDFlibSignatureVerifier, TPDFlibSignatureVerifierResult, ApplyPAdESLongTermValidation, SetPAdESSignatureTimeStampToken, VerifyAuditEvidenceEnvelope