1 write to ServerName
System.Net.Security (1)
System\Net\Security\SslClientHelloInfo.cs (1)
18
ServerName
= serverName;
7 references to ServerName
Certificate.Optional.Sample (1)
Program.cs (1)
40
if (connectionContext.ClientHelloInfo.
ServerName
.Equals(HostWithoutCert, StringComparison.OrdinalIgnoreCase))
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
338
Assert.Equal("localhost", clientHelloInfo.
ServerName
);
Kestrel.SampleApp (2)
Startup.cs (2)
133
var serverName = clientHelloInfo.
ServerName
;
136
throw new AuthenticationException($"The endpoint is not configured for server name '{clientHelloInfo.
ServerName
}'.");
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\SniOptionsSelector.cs (1)
182
var (options, clientCertificateMode) = sniOptionsSelector.GetOptions(callbackContext.Connection, callbackContext.ClientHelloInfo.
ServerName
);
Middleware\HttpsConnectionMiddleware.cs (1)
443
feature.HostName = clientHelloInfo.
ServerName
;
System.Net.Quic (1)
System\Net\Quic\QuicListener.cs (1)
245
await connection.FinishHandshakeAsync(options, clientHello.
ServerName
, cancellationToken).ConfigureAwait(false);