TPDFlibCertificateURLExtract

Data types, digital signatures

Description

Reads the validation addresses a certificate names into string lists. Unlike the other dispatch callbacks this one is a plain function type and is not bound to a method.

TPDFlib declares the public methods and a protected dispatch method for reading the validation addresses a certificate names. The edition class supplies the implementation as a callback of this type. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_SMALLBUSINESS_REQUIRED. Application code never declares, assigns or calls a value of this type.

Syntax

Delphi

TPDFlibCertificateURLExtract = Function(Const CertDER: AnsiString;
  OCSPURLs, CAIssuerURLs, CRLURLs: TStrings): Integer;

Parameters

CertDERThe certificate, DER encoded
OCSPURLsList that receives the OCSP responder addresses, or Nil when they were not asked for
CAIssuerURLsList that receives the issuing CA certificate addresses, or Nil when they were not asked for
CRLURLsList that receives the CRL distribution addresses, or Nil when they were not asked for

Return values

R

See also

TPDFlibCertificateURLKind, GetCertificateOCSPURLs, GetCertificateCRLURLs