GetCertificateCRLURLs

Digital signatures

Description

Returns the CRL distribution addresses a certificate names.

Syntax

Delphi

Function TPDFlib.GetCertificateCRLURLs(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 CRL Distribution Points extension (RFC 5280 §4.2.1.13), including every distribution point the certificate lists.

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

GetCertificateOCSPURLs, AddPAdESDSSCRLFromURL