Search Results for

    Show / Hide Table of Contents

    Class SniCertificateBinding

    Certificate offered when the client SNI matches one of Hosts.

    Inheritance
    object
    SniCertificateBinding
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    Type Description
    X509Certificate2
    | Edit this page View Source

    Hosts

    Declaration
    public required IReadOnlyList<string> Hosts { get; init; }
    Property Value
    Type Description
    IReadOnlyList<string>
    | 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
    Type Description
    DateTime

    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
    Type Name Description
    IReadOnlyList<string> hosts
    X509Certificate2 certificate
    Returns
    Type Description
    SniCertificateBinding
    | Edit this page View Source

    IsValidAt(DateTime)

    True when NotAfterUtc is still in the future at utcNow.

    Declaration
    public bool IsValidAt(DateTime utcNow)
    Parameters
    Type Name Description
    DateTime utcNow
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX