21 references to X509ChainTrustMode
Microsoft.AspNetCore.Authentication.Certificate (4)
CertificateAuthenticationOptions.cs (4)
43/// Defaults to <see cref="X509ChainTrustMode.System"/>. 45/// <remarks>This property must be set to <see cref="X509ChainTrustMode.CustomRootTrust"/> to enable <see cref="CustomTrustStore"/> to be used in certificate chain validation.</remarks> 46public X509ChainTrustMode ChainTrustValidationMode { get; set; } = X509ChainTrustMode.System;
NuGet.Packaging (1)
Signing\TrustStore\CertificateBundleX509ChainFactory.cs (1)
31x509Chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
System.Net.Security (3)
System\Net\Security\SslStream.Protocol.cs (1)
1214chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
System\Net\Security\SslStreamCertificateContext.cs (2)
71chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust; 91chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
System.Security.Cryptography (12)
System\Security\Cryptography\X509Certificates\ChainPal.cs (1)
21X509ChainTrustMode trustMode,
System\Security\Cryptography\X509Certificates\ChainPal.Windows.BuildChain.cs (3)
26X509ChainTrustMode trustMode, 83X509ChainTrustMode trustMode, 88if (trustMode == X509ChainTrustMode.CustomRootTrust)
System\Security\Cryptography\X509Certificates\FindPal.Windows.cs (1)
449X509ChainTrustMode.System,
System\Security\Cryptography\X509Certificates\X509Chain.cs (2)
105if (_chainPolicy.TrustMode == X509ChainTrustMode.System && _chainPolicy.CustomTrustStore.Count > 0) 117if (_chainPolicy.TrustMode == X509ChainTrustMode.CustomRootTrust && _chainPolicy._customTrustStore == null)
System\Security\Cryptography\X509Certificates\X509ChainPolicy.cs (5)
11private X509ChainTrustMode _trustMode; 95public X509ChainTrustMode TrustMode 103if (value < X509ChainTrustMode.System || value > X509ChainTrustMode.CustomRootTrust) 131_trustMode = X509ChainTrustMode.System;
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
29[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509ChainTrustMode))]