Class SniCertificateSelector
Exact host, then the longest wildcard. Among matching bindings prefer one that is still
valid; if none is valid, fall back to the best match so behavior never gets worse than
returning an expired certificate when that is all that is configured.
Inheritance
SniCertificateSelector
Assembly: Titanium.Web.Proxy.dll
Syntax
public static class SniCertificateSelector
Methods
|
Edit this page
View Source
Select(string?, IReadOnlyList<SniCertificateBinding>)
Declaration
public static X509Certificate2? Select(string? serverName, IReadOnlyList<SniCertificateBinding> bindings)
Parameters
Returns
|
Edit this page
View Source
Select(string?, IReadOnlyList<SniCertificateBinding>, DateTime)
Test seam with an injected clock.
Declaration
public static X509Certificate2? Select(string? serverName, IReadOnlyList<SniCertificateBinding> bindings, DateTime utcNow)
Parameters
Returns