ECDsaCertificateExtensions.GetECDsaPublicKey(X509Certificate2) Methode

Definitie

Hiermee haalt u de ECDsa openbare sleutel van het X509Certificate2 certificaat op.

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);
static member GetECDsaPublicKey : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.Security.Cryptography.ECDsa
<Extension()>
Public Function GetECDsaPublicKey (certificate As X509Certificate2) As ECDsa

Parameters

certificate
X509Certificate2

Het certificaat.

Retouren

De openbare sleutel of null als het certificaat geen openbare ECDsa-sleutel heeft.

Uitzonderingen

certificate is null.

De ingang is ongeldig.

Van toepassing op