Search Results for

    Show / Hide Table of Contents

    Interface ICertificateCache

    Namespace: Titanium.Web.Proxy.Network
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public interface ICertificateCache

    Methods

    | Edit this page View Source

    Clear()

    Clears the storage.

    Declaration
    void Clear()
    | Edit this page View Source

    LoadCertificate(string, X509KeyStorageFlags)

    Loads a leaf certificate by subject name. Returns null if the certificate is missing or cannot be loaded.

    Declaration
    X509Certificate2? LoadCertificate(string subjectName, X509KeyStorageFlags storageFlags)
    Parameters
    Type Name Description
    string subjectName
    X509KeyStorageFlags storageFlags
    Returns
    Type Description
    X509Certificate2
    | Edit this page View Source

    LoadRootCertificate(string, string, X509KeyStorageFlags)

    Loads the root certificate from the storage.

    Declaration
    X509Certificate2? LoadRootCertificate(string pathOrName, string password, X509KeyStorageFlags storageFlags)
    Parameters
    Type Name Description
    string pathOrName
    string password
    X509KeyStorageFlags storageFlags
    Returns
    Type Description
    X509Certificate2
    | Edit this page View Source

    SaveCertificate(string, X509Certificate2)

    Stores certificate into the storage.

    Declaration
    void SaveCertificate(string subjectName, X509Certificate2 certificate)
    Parameters
    Type Name Description
    string subjectName
    X509Certificate2 certificate
    | Edit this page View Source

    SaveRootCertificate(string, string, X509Certificate2)

    Saves the root certificate to the storage.

    Declaration
    void SaveRootCertificate(string pathOrName, string password, X509Certificate2 certificate)
    Parameters
    Type Name Description
    string pathOrName
    string password
    X509Certificate2 certificate
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX