3 writes to CertValidationDelegate
System.Net.Security (3)
System\Net\Security\SslAuthenticationOptions.cs (2)
24
CertValidationDelegate
= sslClientAuthenticationOptions.RemoteCertificateValidationCallback;
95
CertValidationDelegate
= sslServerAuthenticationOptions.RemoteCertificateValidationCallback;
System\Net\Security\SslStream.cs (1)
216
_sslAuthenticationOptions.
CertValidationDelegate
= userCertificateValidationCallback;
6 references to CertValidationDelegate
System.Net.Security (6)
System\Net\Security\SslAuthenticationOptions.cs (4)
22
if (
CertValidationDelegate
== null)
27
CertValidationDelegate
!= sslClientAuthenticationOptions.RemoteCertificateValidationCallback)
93
if (
CertValidationDelegate
== null)
98
CertValidationDelegate
!= sslServerAuthenticationOptions.RemoteCertificateValidationCallback)
System\Net\Security\SslStream.IO.cs (2)
579
if (!VerifyRemoteCertificate(_sslAuthenticationOptions.
CertValidationDelegate
, _sslAuthenticationOptions.CertificateContext?.Trust, ref alertToken, out sslPolicyErrors, out chainStatus))
594
if (sslAuthenticationOptions!.
CertValidationDelegate
!= null)