ClientCertificateValidationCompiler class

Compiles C# or VB.NET code into a TLS client certificate validation callback.

public static class ClientCertificateValidationCompiler

Public Members

name description
static Compile(…) Compiles code into a TLS client certificate validation callback.

Remarks

This is intended for advanced scenarios where a pure .NET delegate is required (e.g. Kestrel TLS handshake callbacks). The compiled delegate executes inside the Kestrel TLS handshake path, so it must be fast and thread-safe.

See Also