GetCertificateIssuerURLsA

Digital signatures

Requires the Small Business edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibSmallBusiness (unit PDFlibSmallBusiness) or TPDFlibEnterprise; the Small Business and Enterprise DLL and ActiveX builds provide it unchanged; the Single edition keeps the method, which returns an empty string and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetCertificateIssuerURLs and string arguments are interpreted using the current SetAnsiMode code page

Returns the issuing CA certificate addresses a certificate names

Syntax

Delphi

Function DLGetCertificateIssuerURLsA(InstanceID: Integer; CertDER: PAnsiChar; CertDERLength: Integer): PAnsiChar;

DLL

const char* DLGetCertificateIssuerURLsA(int InstanceID, const char* CertDER, int CertDERLength);

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-caIssuers (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

GetCertificateOCSPURLs, AddPAdESDSSCertificateFromURL