VerifySignerCertificateChainByName

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 the named signature field and selected signer, at the current UTC time.

It is a shortcut for VerifySignerCertificateChainExByName with srmNone revocation and verification time 0; use the Ex variant when the detailed chain report matters.

Syntax

Delphi

Function TPDFlibSignatureVerifier.VerifySignerCertificateChainByName(Const FieldName: WideString; SignerIndex: Integer): TPDFlibSignatureVerifierResult;

Parameters

FieldNameFully qualified name of the signature field
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
vsUnknownThe document is not open, the field does not exist, or the signer certificate cannot be decoded from the CMS

See also

TPDFlibSignatureVerifier, TPDFlibSignatureVerifierResult, NativeCRLRevocation