Bewerken

Share via


X509Chain.Create Method

Definition

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

public:
 static System::Security::Cryptography::X509Certificates::X509Chain ^ Create();
public static System.Security.Cryptography.X509Certificates.X509Chain Create ();
static member Create : unit -> System.Security.Cryptography.X509Certificates.X509Chain
Public Shared Function Create () As X509Chain

Returns

An 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.

Applies to