GetCertificateIssuerURLs
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
Returns the issuing CA certificate addresses a certificate names
Syntax
Delphi
Function TPDFlib.GetCertificateIssuerURLs(Const CertDER: AnsiString): WideString; Virtual;ActiveX
Function PDFlib::GetCertificateIssuerURLs(CertDER As Variant) As StringDLL
const wchar_t* DLGetCertificateIssuerURLs(int InstanceID, const char* CertDER, int CertDERLength);
const char* DLGetCertificateIssuerURLsA(int InstanceID, const char* CertDER, int CertDERLength);Parameters
| CertDER | The certificate, DER encoded |
|---|
Return values
| Addresses | One per line |
|---|---|
| Empty string | The 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