Udostępnij za pośrednictwem


PackageDigitalSignatureManager.VerifyCertificate(X509Certificate) Metoda

Definicja

Weryfikuje dany certyfikat X.509.

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

Parametry

certificate
X509Certificate

Certyfikat X.509 do zweryfikowania.

Zwraca

NoError (wartość 0) jeśli certyfikat został pomyślnie zweryfikowany; w przeciwnym razie bitowe wyliczenie flag błędów.

Atrybuty

Dotyczy

Zobacz też