GetCertificateIssuerURLs

数字签名

需要 Small Business 版。在 Delphi、C++Builder 和 Lazarus 代码中,请将库创建为 TPDFlibSmallBusiness(单元 PDFlibSmallBusiness)或 TPDFlibEnterprise;Small Business 版和 Enterprise 版的 DLL 与 ActiveX 构建原样提供该方法。Single 版保留此方法,它返回空字符串,并将 LastErrorCode 设置为 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)

描述

返回证书指定的颁发 CA 证书地址

语法

Delphi

Function TPDFlib.GetCertificateIssuerURLs(Const CertDER: AnsiString): WideString; Virtual;

ActiveX

Function PDFlib::GetCertificateIssuerURLs(CertDER As Variant) As String

DLL

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

参数

CertDER采用 DER 编码的证书

返回值

Addresses每行一个
空字符串证书里没有这类地址,或者证书读不出来

备注

地址来自授权信息访问扩展,访问方法为 id-ad-caIssuers(RFC 5280 §4.2.2.1)

仅报告 URI。不指向可获取资源的位置(例如目录名或邮件地址)会被跳过,而不会作为可下载内容返回

另请参阅

GetCertificateOCSPURLs、AddPAdESDSSCertificateFromURL