Interface SslEngineSource

All Known Subinterfaces:
ChainedProxy
All Known Implementing Classes:
ChainedProxyAdapter, SelfSignedSslEngineSource

public interface SslEngineSource
Source for SSLEngines.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an SSLEngine to use for a server connection from LittleProxy to the client.
    newSslEngine(String peerHost, int peerPort)
    Returns an SSLEngine to use for a client connection from LittleProxy to the upstream server.
  • Method Details

    • newSslEngine

      SSLEngine newSslEngine()
      Returns an SSLEngine to use for a server connection from LittleProxy to the client.
    • newSslEngine

      SSLEngine newSslEngine(String peerHost, int peerPort)
      Returns an SSLEngine to use for a client connection from LittleProxy to the upstream server. * Note: Peer information is needed to send the server_name extension in handshake with Server Name Indication (SNI).
      Parameters:
      peerHost - to start a client connection to the server.
      peerPort - to start a client connection to the server.