PackageDigitalSignatureManager.VerifyCertificate(X509Certificate) Método

Definição

Verifica um determinado Certificado X.509.Verifies a given X.509 certificate.

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]
public static System.Security.Cryptography.X509Certificates.X509ChainStatusFlags VerifyCertificate (System.Security.Cryptography.X509Certificates.X509Certificate certificate);
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

O certificado X.509 a ser verificado.The X.509 certificate to verify.

Retornos

NoError (valor 0) se o certificado for verificado com êxito, caso contrário, uma enumeração bit a bit dos sinalizadores de erro.NoError (value 0) if the certificate verified successfully; otherwise, a bitwise enumeration of error flags.

Atributos

Aplica-se a

Veja também