ICertificateResolver.ResolveCertificate(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
找出 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。