11 references to CustomRootTrust
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationOptions.cs (1)
37/// <remarks>This property must be set to <see cref="X509ChainTrustMode.CustomRootTrust"/> to enable <see cref="CustomTrustStore"/> to be used in certificate chain validation.</remarks>
Microsoft.AspNetCore.Authentication.Test (4)
CertificateTests.cs (4)
321ChainTrustValidationMode = X509ChainTrustMode.CustomRootTrust, 338ChainTrustValidationMode = X509ChainTrustMode.CustomRootTrust, 354ChainTrustValidationMode = X509ChainTrustMode.CustomRootTrust, 372ChainTrustValidationMode = X509ChainTrustMode.CustomRootTrust,
System.Net.Security (3)
System\Net\Security\SslStream.Protocol.cs (1)
1081chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
System\Net\Security\SslStreamCertificateContext.cs (2)
71chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust; 91chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
System.Security.Cryptography (3)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (1)
150if (trustMode == X509ChainTrustMode.CustomRootTrust)
System\Security\Cryptography\X509Certificates\X509Chain.cs (1)
117if (_chainPolicy.TrustMode == X509ChainTrustMode.CustomRootTrust && _chainPolicy._customTrustStore == null)
System\Security\Cryptography\X509Certificates\X509ChainPolicy.cs (1)
103if (value < X509ChainTrustMode.System || value > X509ChainTrustMode.CustomRootTrust)