Search Results for

    Show / Hide Table of Contents

    Class BeforeSslAuthenticateEventArgs

    This is used in transparent endpoint before authenticating client.

    Inheritance
    Object
    EventArgs
    ProxyEventArgsBase
    BeforeSslAuthenticateEventArgs
    Inherited Members
    ProxyEventArgsBase.ClientUserData
    EventArgs.Empty
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Titanium.Web.Proxy.EventArguments
    Assembly: Titanium.Web.Proxy.dll
    Syntax
    public class BeforeSslAuthenticateEventArgs : ProxyEventArgsBase

    Properties

    | Improve this Doc View Source

    DecryptSsl

    Should we decrypt the SSL request? If true we decrypt with fake certificate. If false we relay the connection to the hostname mentioned in SniHostname.

    Declaration
    public bool DecryptSsl { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    ForwardHttpsHostName

    We need to know the server hostname we are forwarding the request to. By default its the SNI hostname indicated in SSL handshake, when SNI is available. When SNI is not available, it will use the GenericCertificateName of TransparentEndPoint. This property is used only when DecryptSsl or when BeforeSslAuthenticateEventArgs.DecryptSsl is false. When DecryptSsl is true, we need to explicitly set the Forwarded host and port by setting e.HttpClient.Request.Url inside BeforeRequest event handler.

    Declaration
    public string ForwardHttpsHostName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    ForwardHttpsPort

    We need to know the server port we are forwarding the request to. By default its the standard https port, 443. This property is used only when DecryptSsl or when BeforeSslAuthenticateEventArgs.DecryptSsl is false. When DecryptSsl is true, we need to explicitly set the Forwarded host and port by setting e.HttpClient.Request.Url inside BeforeRequest event handler.

    Declaration
    public int ForwardHttpsPort { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    SniHostName

    The server name indication hostname if available. Otherwise the GenericCertificateName property of TransparentEndPoint.

    Declaration
    public string SniHostName { get; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    TerminateSession()

    Terminate the request abruptly by closing client/server connections.

    Declaration
    public void TerminateSession()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX