2 writes to CertSelectionDelegate
System.Net.Security (2)
System\Net\Security\SslAuthenticationOptions.cs (1)
35
CertSelectionDelegate
= sslClientAuthenticationOptions.LocalCertificateSelectionCallback;
System\Net\Security\SslStream.cs (1)
217
_sslAuthenticationOptions.
CertSelectionDelegate
= userCertificateSelectionCallback;
10 references to CertSelectionDelegate
System.Net.Security (10)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
354
(sslAuthenticationOptions.CertificateContext == null && sslAuthenticationOptions.
CertSelectionDelegate
!= null))
438
sslAuthenticationOptions.
CertSelectionDelegate
!= null)
System\Net\Security\SslAuthenticationOptions.cs (4)
33
if (
CertSelectionDelegate
== null)
38
CertSelectionDelegate
!= sslClientAuthenticationOptions.LocalCertificateSelectionCallback)
80
CertSelectionDelegate
== null)
87
CertSelectionDelegate
!= null) &&
System\Net\Security\SslStream.Protocol.cs (4)
337
else if (_sslAuthenticationOptions.
CertSelectionDelegate
!= null)
348
clientCertificate = _sslAuthenticationOptions.
CertSelectionDelegate
(this, _sslAuthenticationOptions.TargetHost, _sslAuthenticationOptions.ClientCertificates, remoteCert, issuers);
696
else if (_sslAuthenticationOptions.
CertSelectionDelegate
!= null)
701
localCertificate = _sslAuthenticationOptions.
CertSelectionDelegate
(this, string.Empty, tempCollection, null, Array.Empty<string>());