VerifySignerCertificateChainByIndex

Security and signatures

Requires the Enterprise edition — part of the Enterprise signature verification surface in TPDFlibSignatureVerifier (unit PDFlibEntSignVerify)

Description

Runs the default signer certificate chain validation for an explicitly selected signature field and signer.

The field index is resolved to a name and the call delegates to VerifySignerCertificateChainByName: trust-only checking (srmNone) at the current UTC time.

Syntax

Delphi

Function TPDFlibSignatureVerifier.VerifySignerCertificateChainByIndex(SignatureIndex, SignerIndex: Integer): TPDFlibSignatureVerifierResult;

Parameters

SignatureIndexZero-based signature field index
SignerIndexZero-based CMS signer index within the signature

Return values

vsValidThe chain is trusted and no policy error was reported
vsInvalidThe chain failed, for example untrusted root, expired, wrong usage, or revoked
vsUnknownNo document is open, the field index is out of range, or the signer certificate cannot be decoded from the CMS

See also

TPDFlibSignatureVerifier, TPDFlibSignatureVerifierResult, NativeCRLRevocation