Class SniCertificateBinding
Certificate offered when the client SNI matches one of Hosts.
Inheritance
SniCertificateBinding
Namespace: Titanium.Web.Proxy.Models
Assembly: Titanium.Web.Proxy.dll
Syntax
public sealed class SniCertificateBinding
Properties
|
Edit this page
View Source
Certificate
Declaration
public required X509Certificate2 Certificate { get; init; }
Property Value
|
Edit this page
View Source
Hosts
Declaration
public required IReadOnlyList<string> Hosts { get; init; }
Property Value
|
Edit this page
View Source
NotAfterUtc
UTC end of validity of Certificate, cached when the certificate is assigned.
Declaration
public DateTime NotAfterUtc { get; }
Property Value
Methods
|
Edit this page
View Source
Create(IReadOnlyList<string>, X509Certificate2)
Builds a binding for the given hosts and certificate.
Declaration
public static SniCertificateBinding Create(IReadOnlyList<string> hosts, X509Certificate2 certificate)
Parameters
Returns
|
Edit this page
View Source
IsValidAt(DateTime)
True when NotAfterUtc is still in the future at utcNow.
Declaration
public bool IsValidAt(DateTime utcNow)
Parameters
Returns