GetSignerCertificateByIndex
security and signatures
Requires the Enterprise edition — part of the Enterprise signature verification surface in TPDFlibSignatureVerifier (unit PDFlibEntSignVerify)
Description
Decodes the signer certificate of an explicitly selected signature field and signer and summarises its identity fields.
The field index is resolved to a name and the call delegates to GetSignerCertificateByName; the signature itself is not verified here.
Syntax
Delphi
Function TPDFlibSignatureVerifier.GetSignerCertificateByIndex(SignatureIndex, SignerIndex: Integer; Out Cert: TPDFlibSignatureCertificate): Boolean;Parameters
| SignatureIndex | Zero-based signature field index |
|---|---|
| SignerIndex | Zero-based CMS signer index within the signature |
| Cert | Receives subject, issuer, serial number, and UTC validity window of the signer certificate |
Return values
| True | The signer certificate was decoded and the summary was filled |
|---|---|
| False | No document is open, the field index is out of range, or the signer certificate cannot be decoded from the CMS; the record is returned cleared |
See also
TPDFlibSignatureCertificate, TPDFlibSignatureVerifier, EnumSignatures