Search Results for

    Show / Hide Table of Contents

    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
    object
    SniCertificateSelector
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Titanium.Web.Proxy.Certificates
    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
    Type Name Description
    string serverName
    IReadOnlyList<SniCertificateBinding> bindings
    Returns
    Type Description
    X509Certificate2
    | 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
    Type Name Description
    string serverName
    IReadOnlyList<SniCertificateBinding> bindings
    DateTime utcNow
    Returns
    Type Description
    X509Certificate2
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX