3 instantiations of SslClientHelloInfo
System.Net.Quic (1)
System\Net\Quic\QuicListener.cs (1)
346
SslClientHelloInfo clientHello = new
SslClientHelloInfo
(data.Info->ServerNameLength > 0 ? Encoding.UTF8.GetString((byte*)data.Info->ServerName, data.Info->ServerNameLength) : "", SslProtocols.Tls13);
System.Net.Security (2)
System\Net\Security\SslStream.IO.cs (1)
511
await _sslAuthenticationOptions.ServerOptionDelegate(this, new
SslClientHelloInfo
(_sslAuthenticationOptions.TargetHost, _lastFrame.SupportedVersions),
System\Net\Security\TlsSession.cs (1)
1606
return new
SslClientHelloInfo
(frameInfo.TargetName ?? string.Empty, frameInfo.SupportedVersions);
13 references to SslClientHelloInfo
Microsoft.AspNetCore.Connections.Abstractions (1)
TlsConnectionCallbackContext.cs (1)
20
public
SslClientHelloInfo
ClientHelloInfo { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Middleware\HttpsConnectionMiddleware.cs (1)
470
private static async ValueTask<SslServerAuthenticationOptions> ServerOptionsCallback(SslStream sslStream,
SslClientHelloInfo
clientHelloInfo, object? state, CancellationToken cancellationToken)
TlsHandshakeCallbackContext.cs (1)
25
public
SslClientHelloInfo
ClientHelloInfo { get; internal set; }
System.Net.Quic (4)
System\Net\Quic\QuicListener.cs (3)
96
private readonly Func<QuicConnection,
SslClientHelloInfo
, CancellationToken, ValueTask<QuicServerConnectionOptions>> _connectionOptionsCallback;
216
private async void StartConnectionHandshake(QuicConnection connection,
SslClientHelloInfo
clientHello)
346
SslClientHelloInfo
clientHello = new SslClientHelloInfo(data.Info->ServerNameLength > 0 ? Encoding.UTF8.GetString((byte*)data.Info->ServerName, data.Info->ServerNameLength) : "", SslProtocols.Tls13);
System\Net\Quic\QuicListenerOptions.cs (1)
37
public Func<QuicConnection,
SslClientHelloInfo
, CancellationToken, ValueTask<QuicServerConnectionOptions>> ConnectionOptionsCallback { get; set; } = null!;
System.Net.Security (6)
System\Net\Security\SslStream.cs (1)
40
public delegate ValueTask<SslServerAuthenticationOptions> ServerOptionsSelectionCallback(SslStream stream,
SslClientHelloInfo
clientHelloInfo, object? state, CancellationToken cancellationToken);
System\Net\Security\TlsSession.cs (4)
93
private
SslClientHelloInfo
? _clientHelloInfo;
524
public
SslClientHelloInfo
? ClientHelloInfo
919
SslClientHelloInfo
? parsed = TryParseClientHello(input, out int frameLength);
1591
private static
SslClientHelloInfo
? TryParseClientHello(ReadOnlySpan<byte> input, out int frameLength)
System\Net\Security\TlsSession.OpenSsl.cs (1)
154
SslClientHelloInfo
? parsed = TryParseClientHello(frame, out _);