2 writes to CertificateChainPolicy
System.Net.Security (2)
System\Net\Security\SslAuthenticationOptions.cs (2)
62
CertificateChainPolicy
= sslClientAuthenticationOptions.CertificateChainPolicy.Clone();
149
CertificateChainPolicy
= sslServerAuthenticationOptions.CertificateChainPolicy.Clone();
3 references to CertificateChainPolicy
System.Net.Security (3)
System\Net\Security\SslStream.Protocol.cs (3)
1049
X509Certificate2? certificate = CertificateValidationPal.GetRemoteCertificate(_securityContext, ref chain, _sslAuthenticationOptions.
CertificateChainPolicy
);
1070
if (_sslAuthenticationOptions.
CertificateChainPolicy
!= null)
1072
chain.ChainPolicy = _sslAuthenticationOptions.
CertificateChainPolicy
;