3 writes to CertValidationDelegate
System.Net.Security (3)
System\Net\Security\SslAuthenticationOptions.cs (2)
24CertValidationDelegate = sslClientAuthenticationOptions.RemoteCertificateValidationCallback; 95CertValidationDelegate = 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)
22if (CertValidationDelegate == null) 27CertValidationDelegate != sslClientAuthenticationOptions.RemoteCertificateValidationCallback) 93if (CertValidationDelegate == null) 98CertValidationDelegate != sslServerAuthenticationOptions.RemoteCertificateValidationCallback)
System\Net\Security\SslStream.IO.cs (2)
579if (!VerifyRemoteCertificate(_sslAuthenticationOptions.CertValidationDelegate, _sslAuthenticationOptions.CertificateContext?.Trust, ref alertToken, out sslPolicyErrors, out chainStatus)) 594if (sslAuthenticationOptions!.CertValidationDelegate != null)