GetSignerCertificate
Security and signatures
Requires the Enterprise edition — part of the Enterprise signature verification surface in TPDFlibSignatureVerifier (unit PDFlibEntSignVerify)
Description
Decodes the signer certificate out of the first signature's CMS and summarises its identity fields.
It is a compatibility shortcut for GetSignerCertificateByIndex(0, 0, Cert); the signature itself is not verified here.
Syntax
Delphi
Function TPDFlibSignatureVerifier.GetSignerCertificate(Out Cert: TPDFlibSignatureCertificate): Boolean;Parameters
| 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, no signature field exists, or the signer certificate cannot be decoded from the CMS |
See also
TPDFlibSignatureCertificate, TPDFlibSignatureVerifier, EnumSignatures