Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
ef06f98
Add experimental DirectTls transport for Kestrel
DeagleGross Jul 20, 2026
953188a
DirectTls: apply API-review-approved cosmetic changes
DeagleGross Jul 22, 2026
0cc6bc9
DirectTls: drop custom ClientHello delegate; move protocols off facto…
DeagleGross Jul 22, 2026
fb0a8d6
DirectTls: revert ClientHello callback to Action<ConnectionContext, R…
DeagleGross Jul 22, 2026
85b42a8
DirectTls: move DirectTlsEndpoint(+Options) into Kestrel.Core; socket…
DeagleGross Jul 22, 2026
60d0881
Ship DirectTls transport as a standalone NuGet package
DeagleGross Jul 22, 2026
b2b01d7
Add package README and processor-based default WorkerCount for DirectTls
DeagleGross Jul 22, 2026
5fd171e
Remove package README from DirectTls transport
DeagleGross Jul 22, 2026
dea9524
Fix DirectTls epoll P/Invokes missing SetLastError=true
DeagleGross Jul 23, 2026
57dd412
log error on epoll closure fail
DeagleGross Jul 23, 2026
8e2fb2c
cleanup tlspumpeventpool ; add per-endpoint workercount
DeagleGross Jul 23, 2026
6399f02
fix renego read/write collapses
DeagleGross Jul 23, 2026
9940470
cover connectionIoState with tests
DeagleGross Jul 23, 2026
86e71f0
comment on dispose/shutdown race condition problem
DeagleGross Jul 23, 2026
acbdfd9
Fix DirectTls accept loop spin on listen socket teardown
DeagleGross Jul 23, 2026
a615b90
Dispose DirectTls native TLS contexts on listener teardown
DeagleGross Jul 23, 2026
b51f8a4
Dispose accepted client certificate on DirectTls connection teardown
DeagleGross Jul 23, 2026
2be824e
defend for linux OS
DeagleGross Jul 24, 2026
5756ed5
Trim unrelated AspNetCore.slnx reordering churn
DeagleGross Jul 24, 2026
4ecbdf3
Disable AIA certificate downloads during client-cert chain build
DeagleGross Jul 24, 2026
635e2a7
Extract ClientCertificateValidator seam and add unit tests
DeagleGross Jul 24, 2026
ff076ff
Add DirectTls HandshakeTimeout option and enforce it in the pump
DeagleGross Jul 24, 2026
18f1ad0
cleanup
DeagleGross Jul 24, 2026
cbeef60
DirectTls: dispose-race fix, Linux-only test gating, backpressure buf…
BrennanConroy Jul 30, 2026
8d8cf75
DirectTls: de-flake e2e backpressure functional tests
BrennanConroy Jul 30, 2026
4b96398
Fix DirectTls transport concurrency races (pump busy-spin, SSL op ser…
BrennanConroy Aug 4, 2026
4deb145
DirectTls: make _sslLock I/O transitions structurally synchronous
BrennanConroy Aug 4, 2026
6924132
Harden DirectTls resource ownership and pump failures
BrennanConroy Aug 5, 2026
6d5fc02
Address DirectTls review feedback
BrennanConroy Aug 5, 2026
bd430b1
Merge upstream/main into dmkorolev/net11-aspnetcore-pr
DeagleGross Aug 10, 2026
c1b936a
sync interest for DestinationTooSmall / NeedMoreData
DeagleGross Aug 12, 2026
bfb5306
safeguard connectioniostate disposal
DeagleGross Aug 12, 2026
da2547d
proper order in complete handshake
DeagleGross Aug 12, 2026
abe4846
guard against flushasync backpressure
DeagleGross Aug 12, 2026
b62e5f4
arch agnostic epoll native structs
DeagleGross Aug 12, 2026
8402c92
proper LIBC name
DeagleGross Aug 12, 2026
47fe3ff
verify version
DeagleGross Aug 12, 2026
cf68430
simplify
DeagleGross Aug 12, 2026
8c12d94
simplify abort
DeagleGross Aug 12, 2026
852d882
drop catching auth exception from session read/write
DeagleGross Aug 12, 2026
a681b69
ssl lock on the cancel
DeagleGross Aug 12, 2026
36b3b44
handshake tracker + cap
DeagleGross Aug 13, 2026
ffe539c
cache and dispose socket for IConnectionSocketFeature
DeagleGross Aug 13, 2026
d8b6da1
refactor to CTS-style pump stop
DeagleGross Aug 13, 2026
3171dc6
react to failed epoll_ctl
DeagleGross Aug 13, 2026
ed47653
guard acceptedSocket
DeagleGross Aug 13, 2026
02153ee
fail connection if callback failed
DeagleGross Aug 13, 2026
314149b
update interest on specific closed+armed EPOLLOUT case
DeagleGross Aug 13, 2026
6e229ab
dispose allocated resources on transport.Bind() failures
DeagleGross Aug 13, 2026
e3adc22
handle EPOLLERR/EPOLLHUP
DeagleGross Aug 13, 2026
128b15b
accept4 to simplify creation
DeagleGross Aug 13, 2026
f6a73af
cap accepting connections in a single epoll wakeup iteration
DeagleGross Aug 13, 2026
5b65042
use min alloc buffer size for memory alloc
DeagleGross Aug 13, 2026
b1c56a3
practically select a suitable poll timeout
DeagleGross Aug 13, 2026
593bb16
dont catch object disposed while tls fatal error
DeagleGross Aug 13, 2026
6a6179b
nit
DeagleGross Aug 13, 2026
40a236d
document blocking callback behavior
DeagleGross Aug 14, 2026
d97640f
use SOCK_CLOEXEC
DeagleGross Aug 14, 2026
457f618
cap early
DeagleGross Aug 14, 2026
cd8fb71
critical epoll error leading to host shutdown
DeagleGross Aug 14, 2026
04d955e
add explicit lock on socket creation / disposal
DeagleGross Aug 14, 2026
3a19a2b
fire and forget conncetion disposal for closed-channel shutdown failure
DeagleGross Aug 14, 2026
c585e7f
nit
DeagleGross Aug 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions AspNetCore.slnx
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,7 @@
<Project Path="src/Servers/Kestrel/perf/Microbenchmarks/Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks.csproj" />
</Folder>
<Folder Name="/src/Servers/Kestrel/samples/">
<Project Path="src/Servers/Kestrel/samples/DirectTlsTransportApp/DirectTlsTransportApp.csproj" />
<Project Path="src/Servers/Kestrel/samples/http2cat/http2cat.csproj" />
<Project Path="src/Servers/Kestrel/samples/Http2SampleApp/Http2SampleApp.csproj" />
<Project Path="src/Servers/Kestrel/samples/Http3SampleApp/Http3SampleApp.csproj" />
Expand All @@ -1069,6 +1070,10 @@
<Folder Name="/src/Servers/Kestrel/tools/">
<Project Path="src/Servers/Kestrel/tools/CodeGenerator/CodeGenerator.csproj" />
</Folder>
<Folder Name="/src/Servers/Kestrel/Transport.DirectTls/">
<Project Path="src/Servers/Kestrel/Transport.DirectTls/src/Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.csproj" />
<Project Path="src/Servers/Kestrel/Transport.DirectTls/test/Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.Tests.csproj" />
</Folder>
<Folder Name="/src/Servers/Kestrel/Transport.Quic/">
<Project Path="src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj" />
<Project Path="src/Servers/Kestrel/Transport.Quic/test/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.csproj" />
Expand Down
1 change: 1 addition & 0 deletions eng/ProjectReferences.props
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Server.IIS" ProjectPath="$(RepoRoot)src\Servers\IIS\IIS\src\Microsoft.AspNetCore.Server.IIS.csproj" />
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Server.Kestrel.Core" ProjectPath="$(RepoRoot)src\Servers\Kestrel\Core\src\Microsoft.AspNetCore.Server.Kestrel.Core.csproj" />
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Server.Kestrel" ProjectPath="$(RepoRoot)src\Servers\Kestrel\Kestrel\src\Microsoft.AspNetCore.Server.Kestrel.csproj" />
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls" ProjectPath="$(RepoRoot)src\Servers\Kestrel\Transport.DirectTls\src\Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.csproj" />
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes" ProjectPath="$(RepoRoot)src\Servers\Kestrel\Transport.NamedPipes\src\Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.csproj" />
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Quic" ProjectPath="$(RepoRoot)src\Servers\Kestrel\Transport.Quic\src\Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj" />
<ProjectReferenceProvider Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets" ProjectPath="$(RepoRoot)src\Servers\Kestrel\Transport.Sockets\src\Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj" />
Expand Down
1 change: 1 addition & 0 deletions eng/ShippingAssemblies.props
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
<AspNetCoreShippingAssembly Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" />
<AspNetCoreShippingAssembly Include="Microsoft.AspNetCore.Identity.Specification.Tests" />
<AspNetCoreShippingAssembly Include="Microsoft.AspNetCore.Identity.UI" />
<AspNetCoreShippingAssembly Include="Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls" />
<AspNetCoreShippingAssembly Include="Microsoft.AspNetCore.Authentication.Certificate" />
<AspNetCoreShippingAssembly Include="Microsoft.AspNetCore.Authentication.DeviceBoundSessions" />
<AspNetCoreShippingAssembly Include="Microsoft.AspNetCore.Authentication.Facebook" />
Expand Down
1 change: 1 addition & 0 deletions eng/TrimmableProjects.props
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<TrimmableProject Include="Microsoft.AspNetCore.Server.IIS" />
<TrimmableProject Include="Microsoft.AspNetCore.Server.Kestrel.Core" />
<TrimmableProject Include="Microsoft.AspNetCore.Server.Kestrel" />
<TrimmableProject Include="Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls" />
<TrimmableProject Include="Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes" />
<TrimmableProject Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Quic" />
<TrimmableProject Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets" />
Expand Down
61 changes: 61 additions & 0 deletions src/Servers/Kestrel/Core/src/DirectTlsEndpoint.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Diagnostics.CodeAnalysis;
using System.Net;

namespace Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls;

/// <summary>
/// An <see cref="IPEndPoint"/> that opts an endpoint into the DirectTls transport. Bind it with
/// <c>KestrelServerOptions.Listen(...)</c> (or <c>ListenAnyIP</c>/<c>ListenLocalhost</c>) to serve that
/// endpoint over the native, file-descriptor-bound OpenSSL TLS session instead of <c>SslStream</c>.
/// </summary>
/// <remarks>
/// <para>
/// DirectTls is TLS-only. The endpoint's <see cref="Options"/> must supply a server certificate (via
/// <see cref="DirectTlsEndpointOptions.ServerCertificate"/> or
/// <see cref="DirectTlsEndpointOptions.ServerCertificateSelector"/>).
/// </para>
/// </remarks>
[Experimental("ASPNETCORE_DIRECTTLS_001", UrlFormat = "https://aka.ms/aspnetcore/directtls")]
public sealed class DirectTlsEndpoint : IPEndPoint
{
/// <summary>
/// Initializes a new <see cref="DirectTlsEndpoint"/> with a default <see cref="DirectTlsEndpointOptions"/>.
/// </summary>
/// <param name="address">The IP address to listen on.</param>
/// <param name="port">The port to listen on.</param>
public DirectTlsEndpoint(IPAddress address, int port)
: this(address, port, new DirectTlsEndpointOptions())
{
}

/// <summary>
/// Initializes a new <see cref="DirectTlsEndpoint"/> with the specified TLS options.
/// </summary>
/// <param name="address">The IP address to listen on.</param>
/// <param name="port">The port to listen on.</param>
/// <param name="options">The per-endpoint TLS configuration.</param>
public DirectTlsEndpoint(IPAddress address, int port, DirectTlsEndpointOptions options)
: base(address, port)
{
ArgumentNullException.ThrowIfNull(options);
Options = options;
}

/// <summary>
/// Initializes a new <see cref="DirectTlsEndpoint"/> from an existing <see cref="IPEndPoint"/> with the specified TLS options.
/// </summary>
/// <param name="endpoint">The IP endpoint (address and port) to listen on.</param>
/// <param name="options">The per-endpoint TLS configuration.</param>
public DirectTlsEndpoint(IPEndPoint endpoint, DirectTlsEndpointOptions options)
: this((endpoint ?? throw new ArgumentNullException(nameof(endpoint))).Address, endpoint.Port, options)
{
}

/// <summary>
/// The per-endpoint TLS configuration for this endpoint.
/// </summary>
public DirectTlsEndpointOptions Options { get; }
}
143 changes: 143 additions & 0 deletions src/Servers/Kestrel/Core/src/DirectTlsEndpointOptions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Buffers;
using System.Diagnostics.CodeAnalysis;
using System.Net.Security;
using System.Security.Authentication;
using System.Security.Cryptography.X509Certificates;
using Microsoft.AspNetCore.Connections;
using Microsoft.AspNetCore.Server.Kestrel.Core;
using Microsoft.AspNetCore.Server.Kestrel.Https;

namespace Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls;

/// <summary>
/// Per-endpoint TLS configuration for an endpoint served by the DirectTls transport.
/// </summary>
/// <remarks>
/// DirectTls is TLS-only: every endpoint served by this transport terminates TLS, so a server certificate
/// (either <see cref="ServerCertificate"/> or <see cref="ServerCertificateSelector"/>) is required.
/// </remarks>
[Experimental("ASPNETCORE_DIRECTTLS_001", UrlFormat = "https://aka.ms/aspnetcore/directtls")]
public sealed class DirectTlsEndpointOptions
{
/// <summary>
/// The server certificate presented during the TLS handshake. Used when
/// <see cref="ServerCertificateSelector"/> is not set or returns <see langword="null"/>.
/// </summary>
public X509Certificate2? ServerCertificate { get; set; }

/// <summary>
/// A callback that selects the server certificate based on the connection and the SNI host name parsed
/// from the ClientHello. When set, it is invoked once per connection before the certificate is installed;
/// returning <see langword="null"/> falls back to <see cref="ServerCertificate"/>.
/// </summary>
/// <remarks>
/// The first argument is the <see cref="ConnectionContext"/> for the connection being negotiated (already
/// allocated so it carries the same connection id that will later serve the request); the second is the
/// requested SNI host name, or <see langword="null"/> when the client did not send one.
/// <para>
/// This callback runs synchronously on the epoll worker thread that owns the connection and must not block.
/// A blocking or long-running callback stalls the handshake and I/O of every connection assigned to that worker.
/// </para>
/// </remarks>
public Func<ConnectionContext?, string?, X509Certificate2?>? ServerCertificateSelector { get; set; }
Comment thread
DeagleGross marked this conversation as resolved.
Resolved

/// <summary>
/// The allowable TLS protocol versions. <see cref="SslProtocols.None"/> (the default) lets the operating
/// system choose an appropriate default set.
/// </summary>
public SslProtocols SslProtocols { get; set; } = SslProtocols.None;

/// <summary>
/// Whether a client certificate is requested and/or required during the handshake (mutual TLS).
/// </summary>
/// <remarks>
/// Defaults to <see cref="ClientCertificateMode.NoCertificate"/>.
/// <see cref="ClientCertificateMode.DelayCertificate"/> is not supported (see https://github.com/dotnet/aspnetcore/issues/67915)
/// </remarks>
public ClientCertificateMode ClientCertificateMode { get; set; } = ClientCertificateMode.NoCertificate;

/// <summary>
/// A callback used to validate a client certificate when <see cref="ClientCertificateMode"/> requests one.
/// Return <see langword="true"/> to accept the certificate. When not set, a certificate is accepted only
/// when it produced no <see cref="SslPolicyErrors"/>.
/// </summary>
/// <remarks>
/// This callback runs synchronously on the epoll worker thread that owns the connection and must not block.
/// A blocking or long-running callback stalls the handshake and I/O of every connection assigned to that worker.
/// </remarks>
public Func<X509Certificate2, X509Chain?, SslPolicyErrors, bool>? ClientCertificateValidation { get; set; }

/// <summary>
/// An optional callback invoked with the raw ClientHello record bytes as soon as they are parsed, before
/// the handshake completes.
/// </summary>
/// <remarks>
/// The <see cref="ReadOnlySequence{T}"/> is only valid for the duration of the callback; copy the bytes
/// (for example with <c>ToArray()</c>) if they must outlive the call. The first argument is the
/// <see cref="ConnectionContext"/> for the connection being negotiated.
/// <para>
/// This callback runs synchronously on the epoll worker thread that owns the connection and must not block.
/// A blocking or long-running callback stalls the handshake and I/O of every connection assigned to that worker.
/// </para>
/// </remarks>
public Action<ConnectionContext, ReadOnlySequence<byte>>? TlsClientHelloBytesCallback { get; set; }

/// <summary>
/// Overrides the transport-wide worker count (<c>DirectTlsTransportOptions.WorkerCount</c>) for this
/// endpoint. When <see langword="null"/> (the default), the transport-wide worker count is used.
/// </summary>
/// <remarks>
/// Each DirectTls endpoint runs its own pool of worker threads, so a server's total thread count is the sum
/// of every bound endpoint's worker count. Set this on individual endpoints to bound threads when hosting
/// several DirectTls endpoints — for example, a low-traffic management port can use far fewer workers than a
/// public HTTPS port. Must be greater than zero when set.
/// </remarks>
public int? WorkerCount
{
get;
set
{
if (value is <= 0)
{
throw new ArgumentOutOfRangeException(nameof(value), value, $"{nameof(WorkerCount)} must be greater than zero when set.");
}

field = value;
}
}

/// <summary>
/// The maximum amount of time allowed for the TLS handshake to complete on a connection to this endpoint.
/// A connection whose handshake does not finish within this window is dropped. Defaults to 10 seconds.
/// Set to <see cref="Timeout.InfiniteTimeSpan"/> to disable the timeout; any other non-positive value is rejected.
/// </summary>
/// <remarks>
/// This bounds slow or stalled handshakes — for example a client that opens a connection and then dribbles
/// the ClientHello one byte at a time — which would otherwise keep a file descriptor and its native TLS
/// session pinned to a worker indefinitely. It mirrors <see cref="HttpsConnectionAdapterOptions.HandshakeTimeout"/>,
/// which provides the same protection for the <see cref="SslStream"/>-based HTTPS middleware, and shares its
/// 10-second default.
/// </remarks>
public TimeSpan HandshakeTimeout
{
get;
set
{
if (value <= TimeSpan.Zero && value != Timeout.InfiniteTimeSpan)
{
throw new ArgumentOutOfRangeException(nameof(value), CoreStrings.PositiveTimeSpanRequired);
}

field = value != Timeout.InfiniteTimeSpan ? value : TimeSpan.MaxValue;
}
} = HttpsConnectionAdapterOptions.DefaultHandshakeTimeout;

/// <summary>
/// The HTTP protocols (ALPN) advertised for this endpoint,
/// sourced from <see cref="ListenOptions.Protocols"/> after the endpoint has been configured.
/// </summary>
internal HttpProtocols HttpProtocols { get; set; } = HttpProtocols.Http1AndHttp2;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<IsPackable>false</IsPackable>
<DefineConstants>$(DefineConstants);KESTREL</DefineConstants>
<NoWarn>$(NoWarn);IDE0060</NoWarn><!-- APIs in HTTP3 are work in progress and produce these warnings frequently-->
<NoWarn>$(NoWarn);ASPNETCORE_DIRECTTLS_001</NoWarn> <!-- ASPNETCORE_DIRECTTLS_001 is the [Experimental] id on the DirectTls endpoint/options types defined here -->
<IsTrimmable>true</IsTrimmable>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
<GenerateRequiresPreviewFeaturesAttribute>false</GenerateRequiresPreviewFeaturesAttribute>
Expand Down Expand Up @@ -74,6 +75,7 @@
<InternalsVisibleTo Include="InMemory.FunctionalTests" />
<InternalsVisibleTo Include="Sockets.BindTests" />
<InternalsVisibleTo Include="Microsoft.AspNetCore.Server.Kestrel" />
<InternalsVisibleTo Include="Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls" />
Comment thread
DeagleGross marked this conversation as resolved.
Resolved
<InternalsVisibleTo Include="Microsoft.AspNetCore.Server.Kestrel.Core.Tests" />
<InternalsVisibleTo Include="Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks" />
<InternalsVisibleTo Include="Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.Tests" />
Expand Down
23 changes: 23 additions & 0 deletions src/Servers/Kestrel/Core/src/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,25 @@
#nullable enable
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpoint
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpoint.DirectTlsEndpoint(System.Net.IPAddress! address, int port) -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpoint.DirectTlsEndpoint(System.Net.IPAddress! address, int port, Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions! options) -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpoint.DirectTlsEndpoint(System.Net.IPEndPoint! endpoint, Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions! options) -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpoint.Options.get -> Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions!
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.DirectTlsEndpointOptions() -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.ClientCertificateMode.get -> Microsoft.AspNetCore.Server.Kestrel.Https.ClientCertificateMode
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.ClientCertificateMode.set -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.ClientCertificateValidation.get -> System.Func<System.Security.Cryptography.X509Certificates.X509Certificate2!, System.Security.Cryptography.X509Certificates.X509Chain?, System.Net.Security.SslPolicyErrors, bool>?
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.ClientCertificateValidation.set -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.HandshakeTimeout.get -> System.TimeSpan
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.HandshakeTimeout.set -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.ServerCertificate.get -> System.Security.Cryptography.X509Certificates.X509Certificate2?
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.ServerCertificate.set -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.ServerCertificateSelector.get -> System.Func<Microsoft.AspNetCore.Connections.ConnectionContext?, string?, System.Security.Cryptography.X509Certificates.X509Certificate2?>?
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.ServerCertificateSelector.set -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.SslProtocols.get -> System.Security.Authentication.SslProtocols
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.SslProtocols.set -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.TlsClientHelloBytesCallback.get -> System.Action<Microsoft.AspNetCore.Connections.ConnectionContext!, System.Buffers.ReadOnlySequence<byte>>?
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.TlsClientHelloBytesCallback.set -> void
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.WorkerCount.get -> int?
Microsoft.AspNetCore.Server.Kestrel.Transport.DirectTls.DirectTlsEndpointOptions.WorkerCount.set -> void
static Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseTlsClientHelloListener(this Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions! listenOptions, System.Action<Microsoft.AspNetCore.Connections.ConnectionContext!, System.Buffers.ReadOnlySequence<byte>>! tlsClientHelloBytesCallback, System.TimeSpan? timeout = null) -> Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions!
Loading
Loading