X509NTAuthChainTrustValidator Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the X509NTAuthChainTrustValidator class.
X509NTAuthChainTrustValidator() |
Initializes a new instance of the X509NTAuthChainTrustValidator class. |
X509NTAuthChainTrustValidator(Boolean, X509ChainPolicy) |
Initializes a new instance of the X509NTAuthChainTrustValidator class. |
Initializes a new instance of the X509NTAuthChainTrustValidator class.
public:
X509NTAuthChainTrustValidator();
public X509NTAuthChainTrustValidator ();
Public Sub New ()
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Initializes a new instance of the X509NTAuthChainTrustValidator class.
public:
X509NTAuthChainTrustValidator(bool useMachineContext, System::Security::Cryptography::X509Certificates::X509ChainPolicy ^ chainPolicy);
public X509NTAuthChainTrustValidator (bool useMachineContext, System.Security.Cryptography.X509Certificates.X509ChainPolicy chainPolicy);
new System.IdentityModel.Tokens.X509NTAuthChainTrustValidator : bool * System.Security.Cryptography.X509Certificates.X509ChainPolicy -> System.IdentityModel.Tokens.X509NTAuthChainTrustValidator
Public Sub New (useMachineContext As Boolean, chainPolicy As X509ChainPolicy)
Parameters
- useMachineContext
- Boolean
true
to use the local machine context to build the certificate chain; otherwise, false
.
- chainPolicy
- X509ChainPolicy
The chain policy to use when building the X.509 certificate chain.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: