System.Security.Cryptography.X509Certificates.X509Certificate2.Verify Method

Performs a X.509 chain validation using basic validation policy.

Syntax

[System.MonoTODO("by default this depends on the incomplete X509Chain")]
public bool Verify ()

Returns

true if the validation succeeds; false if the validation fails.

Remarks

This method builds a simple chain for the certificate and applies the base policy to that chain. If you need more information about a failure, validate the certificate directly using the System.Security.Cryptography.X509Certificates.X509Chain object.

Note that the default chaining engine can be overridden using the System.Security.Cryptography.CryptoConfig class. On Microsoft Windows Server 2003, the default engine conforms to the specification described in RFC3280, "tp://go.microsoft.com/fwlink/?LinkId=45286."

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0