ECDsaCertificateExtensions.GetECDsaPublicKey(X509Certificate2) Método

Definición

Obtiene la clave pública ECDsa del certificado X509Certificate2.

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

Parámetros

certificate
X509Certificate2

El certificado.

Devoluciones

Clave pública, o null si el certificado no tiene una clave pública ECDsa.

Excepciones

certificate es null.

El identificador no es válido.

Se aplica a