GetCertificateCRLURLs
数字签名
需要 Small Business 版。在 Delphi、C++Builder 和 Lazarus 代码中,请将库创建为 TPDFlibSmallBusiness(单元 PDFlibSmallBusiness)或 TPDFlibEnterprise;Small Business 版和 Enterprise 版的 DLL 与 ActiveX 构建原样提供该方法。Single 版保留此方法,它返回空字符串,并将 LastErrorCode 设置为 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
描述
返回证书指定的 CRL 分发地址
语法
Delphi
Function TPDFlib.GetCertificateCRLURLs(Const CertDER: AnsiString): WideString; Virtual;ActiveX
Function PDFlib::GetCertificateCRLURLs(CertDER As Variant) As StringDLL
const wchar_t* DLGetCertificateCRLURLs(int InstanceID, const char* CertDER, int CertDERLength);
const char* DLGetCertificateCRLURLsA(int InstanceID, const char* CertDER, int CertDERLength);参数
| CertDER | 采用 DER 编码的证书 |
|---|
返回值
| Addresses | 每行一个 |
|---|---|
| 空字符串 | 证书里没有这类地址,或者证书读不出来 |
备注
这些地址来自 CRL 分发点扩展(RFC 5280 §4.2.1.13),包括证书列出的每个分发点
仅报告 URI。不指向可获取资源的位置(例如目录名或邮件地址)会被跳过,而不会作为可下载内容返回