次の方法で共有


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)。それ以外の場合は、エラー フラグのビットごとの列挙体。

属性

適用対象

こちらもご覧ください