GetCertificateCRLURLsA
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 GetCertificateCRLURLs and string arguments are interpreted using the current SetAnsiMode code page
Returns the CRL distribution addresses a certificate names
Syntax
Delphi
Function DLGetCertificateCRLURLsA(InstanceID: Integer; CertDER: PAnsiChar; CertDERLength: Integer): PAnsiChar;
DLL
const char* DLGetCertificateCRLURLsA(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 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