Поделиться через


PackageDigitalSignatureManager.VerifyCertificate(X509Certificate) Метод

Определение

Проверяет указанный сертификат 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

Параметры

certificate
X509Certificate

Проверяемый сертификат X.509.

Возвращаемое значение

NoError (значение 0), если сертификат проверен успешно; в противном случае побитовое перечисление флагов ошибок.

Атрибуты

Применяется к

См. также раздел