Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CertificateAuthenticationOptions.ChainTrustValidationMode Property

Definition

Namespace:
Microsoft.AspNetCore.Authentication.Certificate
Assembly:
Microsoft.AspNetCore.Authentication.Certificate.dll
Package:
Microsoft.AspNetCore.Authentication.Certificate v10.0.0
Package:
Microsoft.AspNetCore.Authentication.Certificate v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Authentication.Certificate v5.0.9
Package:
Microsoft.AspNetCore.Authentication.Certificate v6.0.6
Package:
Microsoft.AspNetCore.Authentication.Certificate v7.0.5
Package:
Microsoft.AspNetCore.Authentication.Certificate v8.0.19
Source:
CertificateAuthenticationOptions.cs
Source:
CertificateAuthenticationOptions.cs
Source:
CertificateAuthenticationOptions.cs
Source:
CertificateAuthenticationOptions.cs
Source:
CertificateAuthenticationOptions.cs
Source:
CertificateAuthenticationOptions.cs
Source:
CertificateAuthenticationOptions.cs

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.

Method used to validate certificate chains against CustomTrustStore.

public:
 property System::Security::Cryptography::X509Certificates::X509ChainTrustMode ChainTrustValidationMode { System::Security::Cryptography::X509Certificates::X509ChainTrustMode get(); void set(System::Security::Cryptography::X509Certificates::X509ChainTrustMode value); };
public System.Security.Cryptography.X509Certificates.X509ChainTrustMode ChainTrustValidationMode { get; set; }
member this.ChainTrustValidationMode : System.Security.Cryptography.X509Certificates.X509ChainTrustMode with get, set
Public Property ChainTrustValidationMode As X509ChainTrustMode

Property Value

Defaults to System.

Remarks

This property must be set to CustomRootTrust to enable CustomTrustStore to be used in certificate chain validation.

Applies to


Feedback

Was this page helpful?