次の方法で共有


ECDsaCertificateExtensions.GetECDsaPublicKey(X509Certificate2) メソッド

定義

X509Certificate2 証明書の ECDsa 公開キーを取得します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Security::Cryptography::ECDsa ^ GetECDsaPublicKey(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public static System.Security.Cryptography.ECDsa? GetECDsaPublicKey (this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
public static System.Security.Cryptography.ECDsa GetECDsaPublicKey (this System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member GetECDsaPublicKey : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.Security.Cryptography.ECDsa
<Extension()>
Public Function GetECDsaPublicKey (certificate As X509Certificate2) As ECDsa

パラメーター

certificate
X509Certificate2

証明書。

戻り値

公開キー、または証明書に ECDSA 公開キーがない場合は null です。

例外

certificatenullです。

ハンドルが無効です。

適用対象