GetCertificateOCSPURLs

Digital signatures

Description

Returns the OCSP responder addresses a certificate names.

Syntax

Delphi

Function TPDFlib.GetCertificateOCSPURLs(Const CertDER: AnsiString): WideString;

Parameters

CertDERThe certificate, DER encoded.

Return values

AddressesOne per line.
Empty stringThe certificate names none, or it could not be read.

Remarks

The addresses come from the Authority Information Access extension, access method id-ad-ocsp (RFC 5280 §4.2.2.1).

Only URIs are reported. A location that names no fetchable resource, such as a directory name or a mail address, is skipped rather than returned as something that could be downloaded.

See also

GetCertificateIssuerURLs, GetCertificateCRLURLs, FetchRevocationMaterial