TPDFlibSignatureCertificate

Data types, security and signatures

Description

TPDFlibSignatureCertificate is the record filled by GetSignerCertificate on TPDFlibSignatureVerifier

It summarises the X.509 certificate that produced the signature so a caller can show the signer identity and validity window without a cryptography stack

Syntax

Delphi

TPDFlibSignatureCertificate = Record
  Subject: WideString;
  Issuer: WideString;
  SerialNumber: WideString;
  NotBefore: TDateTime;
  NotAfter: TDateTime;
  ValidNow: Boolean;
End;

Fields

SubjectThe signer Subject simple display name, usually the CN
IssuerThe Issuer simple display name
SerialNumberThe serial number as uppercase hex, most significant byte first
NotBeforeThe validity start in UTC
NotAfterThe validity end in UTC
ValidNowTrue when the local now falls within the validity window

See also

TPDFlibSignatureVerifier, TPDFlibSignatureMetadata, TPDFlibCertificateInfo