6 writes to LocalCertificateSelectionCallback
Interop.FunctionalTests (2)
HttpClientHttp2InteropTests.cs (2)
1629
handler.SslOptions.
LocalCertificateSelectionCallback
= (_, _, _, _, _) => TestResources.GetTestCertificate();
1674
handler.SslOptions.
LocalCertificateSelectionCallback
= (_, _, _, _, _) => TestResources.GetTestCertificate();
System.Net.Http (4)
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (1)
30
LocalCertificateSelectionCallback
= options.LocalCertificateSelectionCallback,
System\Net\Http\HttpClientHandler.cs (2)
271
_underlyingHandler.SslOptions.
LocalCertificateSelectionCallback
= (sender, targetHost, localCertificates, remoteCertificate, acceptableIssuers) => CertificateHelper.GetEligibleClientCertificate(_underlyingHandler.SslOptions.ClientCertificates)!;
278
_underlyingHandler.SslOptions.
LocalCertificateSelectionCallback
= (sender, targetHost, localCertificates, remoteCertificate, acceptableIssuers) => CertificateHelper.GetEligibleClientCertificate()!;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
274
sslOptions.
LocalCertificateSelectionCallback
= null;
7 references to LocalCertificateSelectionCallback
System.Net.Http (2)
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (1)
30
LocalCertificateSelectionCallback = options.
LocalCertificateSelectionCallback
,
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
269
if (poolManager.Settings._clientCertificateOptions == ClientCertificateOption.Manual && sslOptions.
LocalCertificateSelectionCallback
!= null &&
System.Net.Quic (2)
System\Net\Quic\Internal\MsQuicConfiguration.cs (2)
40
else if (authenticationOptions.
LocalCertificateSelectionCallback
!= null)
42
X509Certificate selectedCertificate = authenticationOptions.
LocalCertificateSelectionCallback
(
System.Net.Security (3)
System\Net\Security\SslAuthenticationOptions.cs (3)
35
CertSelectionDelegate = sslClientAuthenticationOptions.
LocalCertificateSelectionCallback
;
37
else if (sslClientAuthenticationOptions.
LocalCertificateSelectionCallback
!= null &&
38
CertSelectionDelegate != sslClientAuthenticationOptions.
LocalCertificateSelectionCallback
)