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
| SignatureIndex | Zero-based signature field index |
|---|---|
| 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 | No 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