27 instantiations of SslClientAuthenticationOptions
Aspire.Dashboard (1)
ResourceService\DashboardClient.cs (1)
125httpHandler.SslOptions = new SslClientAuthenticationOptions
http2cat (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
96await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions
HttpStress (1)
Program.cs (1)
515SslOptions = new SslClientAuthenticationOptions
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
96await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
96await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
96await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
96await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
96await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions
InMemory.FunctionalTests (9)
EventSourceTests.cs (2)
178SslOptions = new SslClientAuthenticationOptions 291var clientAuthOptions = new SslClientAuthenticationOptions
Http2\TlsTests.cs (1)
59await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions
HttpsConnectionMiddlewareTests.cs (5)
785var clientOptions = new SslClientAuthenticationOptions() 933await stream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions() 966await stream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions() 999await stream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions() 1392var sslOptions = new SslClientAuthenticationOptions
KestrelMetricsTests.cs (1)
369SslOptions = new SslClientAuthenticationOptions
Interop.FunctionalTests (2)
Http3\Http3TlsTests.cs (1)
480httpHandler.SslOptions = new SslClientAuthenticationOptions
HttpHelpers.cs (1)
41handler.SslOptions = new System.Net.Security.SslClientAuthenticationOptions
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
96await sslStream.AuthenticateAsClientAsync(new SslClientAuthenticationOptions
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
QuicTestHelpers.cs (1)
126ClientAuthenticationOptions = new SslClientAuthenticationOptions
System.Net.Http (3)
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (1)
18var clone = new SslClientAuthenticationOptions()
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
266SslClientAuthenticationOptions sslOptions = poolManager.Settings._sslOptions?.ShallowClone() ?? new SslClientAuthenticationOptions();
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
200get => _settings._sslOptions ??= new SslClientAuthenticationOptions();
System.Net.Security (3)
System\Net\Security\SslStream.cs (3)
243SslClientAuthenticationOptions options = new SslClientAuthenticationOptions 318SslClientAuthenticationOptions options = new SslClientAuthenticationOptions 380SslClientAuthenticationOptions options = new SslClientAuthenticationOptions()
37 references to SslClientAuthenticationOptions
InMemory.FunctionalTests (3)
EventSourceTests.cs (1)
291var clientAuthOptions = new SslClientAuthenticationOptions
HttpsConnectionMiddlewareTests.cs (2)
785var clientOptions = new SslClientAuthenticationOptions() 1392var sslOptions = new SslClientAuthenticationOptions
netstandard (1)
netstandard.cs (1)
1248[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Security.SslClientAuthenticationOptions))]
System.Net.Http (19)
src\libraries\Common\src\System\Net\Security\SslClientAuthenticationOptionsExtensions.cs (4)
15public static SslClientAuthenticationOptions ShallowClone(this SslClientAuthenticationOptions options) 18var clone = new SslClientAuthenticationOptions() 38PropertyInfo[] properties = typeof(SslClientAuthenticationOptions).GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly)!;
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (4)
36private static SslClientAuthenticationOptions SetUpRemoteCertificateValidationCallback(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request) 58public static async ValueTask<SslStream> EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, bool async, Stream stream, CancellationToken cancellationToken) 115public static async ValueTask<QuicConnection> ConnectQuicAsync(HttpRequestMessage request, DnsEndPoint endPoint, TimeSpan idleTimeout, SslClientAuthenticationOptions clientAuthenticationOptions, Action<QuicConnection, QuicStreamCapacityChangedArgs> streamCapacityCallback, CancellationToken cancellationToken)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (9)
56private readonly SslClientAuthenticationOptions? _sslOptionsHttp11; 57private readonly SslClientAuthenticationOptions? _sslOptionsHttp2; 58private readonly SslClientAuthenticationOptions? _sslOptionsHttp2Only; 59private SslClientAuthenticationOptions? _sslOptionsHttp3; 60private readonly SslClientAuthenticationOptions? _sslOptionsProxy; 262private static SslClientAuthenticationOptions ConstructSslOptions(HttpConnectionPoolManager poolManager, string sslHostName) 266SslClientAuthenticationOptions sslOptions = poolManager.Settings._sslOptions?.ShallowClone() ?? new SslClientAuthenticationOptions(); 429SslClientAuthenticationOptions sslOptionsHttp3 = ConstructSslOptions(_poolManager, _sslOptionsHttp11!.TargetHost!); 702private SslClientAuthenticationOptions GetSslOptionsForRequest(HttpRequestMessage request)
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
60internal SslClientAuthenticationOptions? _sslOptions;
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
198public SslClientAuthenticationOptions SslOptions
System.Net.Quic (7)
System\Net\Quic\Internal\MsQuicConfiguration.cs (2)
21SslClientAuthenticationOptions authenticationOptions = options.ClientAuthenticationOptions; 335throw new ArgumentException(SR.net_quic_empty_cipher_suite, nameof(SslClientAuthenticationOptions.CipherSuitesPolicy));
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (4)
32/// Host name send in SNI, set only for outbound/client connections. Configured via <see cref="SslClientAuthenticationOptions.TargetHost"/>. 40/// Configured via <see cref="SslServerAuthenticationOptions.CertificateRevocationCheckMode"/> or <see cref="SslClientAuthenticationOptions.CertificateRevocationCheckMode"/>. 44/// Configured via <see cref="SslServerAuthenticationOptions.RemoteCertificateValidationCallback"/> or <see cref="SslClientAuthenticationOptions.RemoteCertificateValidationCallback"/>. 49/// Configured via <see cref="SslServerAuthenticationOptions.CertificateChainPolicy"/> or <see cref="SslClientAuthenticationOptions.CertificateChainPolicy"/>.
System\Net\Quic\QuicConnectionOptions.cs (1)
186public SslClientAuthenticationOptions ClientAuthenticationOptions { get; set; } = null!;
System.Net.Security (7)
System\Net\Security\SslAuthenticationOptions.cs (1)
20internal void UpdateOptions(SslClientAuthenticationOptions sslClientAuthenticationOptions)
System\Net\Security\SslStream.cs (6)
243SslClientAuthenticationOptions options = new SslClientAuthenticationOptions 255internal IAsyncResult BeginAuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken, AsyncCallback? asyncCallback, object? asyncState) => 318SslClientAuthenticationOptions options = new SslClientAuthenticationOptions 330public void AuthenticateAsClient(SslClientAuthenticationOptions sslClientAuthenticationOptions) 380SslClientAuthenticationOptions options = new SslClientAuthenticationOptions() 392public Task AuthenticateAsClientAsync(SslClientAuthenticationOptions sslClientAuthenticationOptions, CancellationToken cancellationToken = default)