10 references to CustomRootTrust
aspire (1)
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
152
chain.ChainPolicy.TrustMode = X509ChainTrustMode.
CustomRootTrust
;
aspire-managed (1)
NuGet\TrustedRootsHelper.cs (1)
200
proxy._chain.ChainPolicy.TrustMode = X509ChainTrustMode.
CustomRootTrust
;
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationOptions.cs (1)
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>
NuGet.Packaging (1)
Signing\TrustStore\CertificateBundleX509ChainFactory.cs (1)
31
x509Chain.ChainPolicy.TrustMode = X509ChainTrustMode.
CustomRootTrust
;
System.Net.Security (3)
System\Net\Security\SslStream.Protocol.cs (1)
1265
chain.ChainPolicy.TrustMode = X509ChainTrustMode.
CustomRootTrust
;
System\Net\Security\SslStreamCertificateContext.cs (2)
71
chain.ChainPolicy.TrustMode = X509ChainTrustMode.
CustomRootTrust
;
91
chain.ChainPolicy.TrustMode = X509ChainTrustMode.
CustomRootTrust
;
System.Security.Cryptography (3)
System\Security\Cryptography\X509Certificates\ChainPal.Windows.BuildChain.cs (1)
88
if (trustMode == X509ChainTrustMode.
CustomRootTrust
)
System\Security\Cryptography\X509Certificates\X509Chain.cs (1)
117
if (_chainPolicy.TrustMode == X509ChainTrustMode.
CustomRootTrust
&& _chainPolicy._customTrustStore == null)
System\Security\Cryptography\X509Certificates\X509ChainPolicy.cs (1)
103
if (value < X509ChainTrustMode.System || value > X509ChainTrustMode.
CustomRootTrust
)