共用方式為


ICertificateResolver.ResolveCertificate(String) 方法

定義

找出 X509Certificate2 指定的指紋。

public:
 System::Security::Cryptography::X509Certificates::X509Certificate2 ^ ResolveCertificate(System::String ^ thumbprint);
public System.Security.Cryptography.X509Certificates.X509Certificate2 ResolveCertificate (string thumbprint);
public System.Security.Cryptography.X509Certificates.X509Certificate2? ResolveCertificate (string thumbprint);
abstract member ResolveCertificate : string -> System.Security.Cryptography.X509Certificates.X509Certificate2
Public Function ResolveCertificate (thumbprint As String) As X509Certificate2

參數

thumbprint
String

指紋 (為要解析之憑證的十六進位字串) 。

傳回

X509Certificate2 解析的 ,如果找不到憑證,則為 null。

適用於