ECDsaCertificateExtensions.GetECDsaPrivateKey(X509Certificate2) メソッド

定義

X509Certificate2 証明書の ECDsa 秘密キーを取得します。

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

パラメーター

certificate
X509Certificate2

証明書。

戻り値

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

例外

certificatenullです。

適用対象