4 writes to CertSelectionDelegate
System.Net.Security (4)
System\Net\Security\SslAuthenticationOptions.cs (3)
52
CertSelectionDelegate
= sslClientAuthenticationOptions.LocalCertificateSelectionCallback;
232
CertSelectionDelegate
= CertSelectionDelegate,
268
CertSelectionDelegate
= other.CertSelectionDelegate;
System\Net\Security\SslStream.cs (1)
217
_sslAuthenticationOptions.
CertSelectionDelegate
= userCertificateSelectionCallback;
12 references to CertSelectionDelegate
System.Net.Security (12)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (2)
387
(sslAuthenticationOptions.CertificateContext == null && sslAuthenticationOptions.
CertSelectionDelegate
!= null))
482
sslAuthenticationOptions.
CertSelectionDelegate
!= null)
System\Net\Security\SslAuthenticationOptions.cs (6)
50
if (
CertSelectionDelegate
== null)
55
CertSelectionDelegate
!= sslClientAuthenticationOptions.LocalCertificateSelectionCallback)
108
CertSelectionDelegate
== null)
115
CertSelectionDelegate
!= null) &&
232
CertSelectionDelegate =
CertSelectionDelegate
,
268
CertSelectionDelegate = other.
CertSelectionDelegate
;
System\Net\Security\SslStream.Protocol.cs (4)
310
else if (_sslAuthenticationOptions.
CertSelectionDelegate
!= null)
321
clientCertificate = _sslAuthenticationOptions.
CertSelectionDelegate
(this, _sslAuthenticationOptions.TargetHost, _sslAuthenticationOptions.ClientCertificates, remoteCert, issuers);
666
else if (_sslAuthenticationOptions.
CertSelectionDelegate
!= null)
671
localCertificate = _sslAuthenticationOptions.
CertSelectionDelegate
(this, string.Empty, tempCollection, null, Array.Empty<string>());