2 instantiations of SslClientHelloInfo
System.Net.Quic (1)
System\Net\Quic\QuicListener.cs (1)
344
SslClientHelloInfo clientHello = new
SslClientHelloInfo
(data.Info->ServerNameLength > 0 ? Marshal.PtrToStringUTF8((IntPtr)data.Info->ServerName, data.Info->ServerNameLength) : "", SslProtocols.Tls13);
System.Net.Security (1)
System\Net\Security\SslStream.IO.cs (1)
462
await _sslAuthenticationOptions.ServerOptionDelegate(this, new
SslClientHelloInfo
(_sslAuthenticationOptions.TargetHost, _lastFrame.SupportedVersions),
10 references to SslClientHelloInfo
Http3SampleApp (1)
Program.cs (1)
84
ServerOptionsSelectionCallback callback = (SslStream stream,
SslClientHelloInfo
clientHelloInfo, object state, CancellationToken cancellationToken) =>
InMemory.FunctionalTests (2)
HttpsConnectionMiddlewareTests.cs (1)
667
listenOptions.UseHttps((SslStream stream,
SslClientHelloInfo
clientHelloInfo, object state, CancellationToken cancellationToken) =>
HttpsTests.cs (1)
604
listenOptions.UseHttps((SslStream stream,
SslClientHelloInfo
clientHelloInfo, object state, CancellationToken cancellationToken) =>
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Middleware\HttpsConnectionMiddleware.cs (1)
439
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)
94
private readonly Func<QuicConnection,
SslClientHelloInfo
, CancellationToken, ValueTask<QuicServerConnectionOptions>> _connectionOptionsCallback;
214
private async void StartConnectionHandshake(QuicConnection connection,
SslClientHelloInfo
clientHello)
344
SslClientHelloInfo
clientHello = new SslClientHelloInfo(data.Info->ServerNameLength > 0 ? Marshal.PtrToStringUTF8((IntPtr)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 (1)
System\Net\Security\SslStream.cs (1)
40
public delegate ValueTask<SslServerAuthenticationOptions> ServerOptionsSelectionCallback(SslStream stream,
SslClientHelloInfo
clientHelloInfo, object? state, CancellationToken cancellationToken);