Freigeben über


PackageDigitalSignatureManager.VerifyCertificate(X509Certificate) Methode

Definition

Überprüft ein bestimmtes X.509-Zertifikat.

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

Parameter

certificate
X509Certificate

Das zu überprüfende X.509-Zertifikat.

Gibt zurück

NoError (Wert 0), wenn das Zertifikat erfolgreich überprüft wurde, andernfalls eine bitweise Enumeration aus Fehlerflags.

Attribute

Gilt für:

Weitere Informationen