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

CertReceives subject, issuer, serial number, and UTC validity window of the signer certificate

Return values

TrueThe signer certificate was decoded and the summary was filled
FalseNo document is open, no signature field exists, or the signer certificate cannot be decoded from the CMS

See also

TPDFlibSignatureCertificate, TPDFlibSignatureVerifier, EnumSignatures