System.Security.Cryptography.X509Certificates.X509Chain.Create Method

Creates an System.Security.Cryptography.X509Certificates.X509Chain object after querying for the mapping defined in the CryptoConfig file, and maps the chain to that mapping.

Syntax

public static X509Chain Create ()

Returns

An System.Security.Cryptography.X509Certificates.X509Chain object.

Remarks

By default, this method will create an X.509 chain. You can also use this method when the default chain-building engine is overridden in the Machine.config file. Note that for compatibility, any chain engine must attempt to honor the call and return semantics of the default chain engine.

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