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
| FieldName | Fully qualified name of the signature field |
|---|---|
| SignerIndex | Zero-based CMS signer index within the signature |
Return values
| vsValid | The chain is trusted and no policy error was reported |
|---|---|
| vsInvalid | The chain failed, for example untrusted root, expired, wrong usage, or revoked |
| vsUnknown | The document is not open, the field does not exist, or the signer certificate cannot be decoded from the CMS |
See also
TPDFlibSignatureVerifier, TPDFlibSignatureVerifierResult, NativeCRLRevocation