System.Security.Cryptography.X509Certificates.X509Chain.Build Method

Builds an X.509 chain using the policy specified in System.Security.Cryptography.X509Certificates.X509ChainPolicy.

Syntax

[System.MonoTODO("Not totally RFC3280 compliant, but neither is MS implementation...")]
public bool Build (X509Certificate2 certificate)

Parameters

certificate
An System.Security.Cryptography.X509Certificates.X509Certificate2 object.

Returns

true if the X.509 certificate is valid; otherwise, false.

Remarks

Note that a valid X.509 certificate from a trusted issuer is valid only for the use specified in the System.Security.Cryptography.X509Certificates.X509ChainPolicy object. Certificates that meet these chain policy rules might still be invalid for specific uses with such features as Security/MIME (SMIME), Authenticode, or Secure Sockets Layer (SSL). If further processing is required to determine whether the certificate is valid for a specific policy, derive a class from System.Security.Cryptography.X509Certificates.X509Chain and override the X509Chain.Build(X509Certificate2) method so that it calls the base class Build method first, and then does the additional processing.

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