Compartir a través de


PackageDigitalSignatureManager.VerifyCertificate(X509Certificate) Método

Definición

Comprueba un certificado X.509 especificado.

public:
 static System::Security::Cryptography::X509Certificates::X509ChainStatusFlags VerifyCertificate(System::Security::Cryptography::X509Certificates::X509Certificate ^ certificate);
[System.Security.SecurityCritical]
public static System.Security.Cryptography.X509Certificates.X509ChainStatusFlags VerifyCertificate (System.Security.Cryptography.X509Certificates.X509Certificate certificate);
public static System.Security.Cryptography.X509Certificates.X509ChainStatusFlags VerifyCertificate (System.Security.Cryptography.X509Certificates.X509Certificate certificate);
[<System.Security.SecurityCritical>]
static member VerifyCertificate : System.Security.Cryptography.X509Certificates.X509Certificate -> System.Security.Cryptography.X509Certificates.X509ChainStatusFlags
static member VerifyCertificate : System.Security.Cryptography.X509Certificates.X509Certificate -> System.Security.Cryptography.X509Certificates.X509ChainStatusFlags
Public Shared Function VerifyCertificate (certificate As X509Certificate) As X509ChainStatusFlags

Parámetros

certificate
X509Certificate

Certificado X.509 que se va a comprobar.

Devoluciones

Devuelve NoError (valor 0) si el certificado se comprueba correctamente; de lo contrario, devuelve una enumeración bit a bit de marcas de error.

Atributos

Se aplica a

Consulte también