Package org.littleshoot.proxy
Interface SslEngineSource
-
- All Known Subinterfaces:
ChainedProxy
- All Known Implementing Classes:
ChainedProxyAdapter,SelfSignedSslEngineSource
public interface SslEngineSourceSource forSSLEngines.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SSLEnginenewSslEngine()Returns anSSLEngineto use for a server connection from LittleProxy to the client.SSLEnginenewSslEngine(String peerHost, int peerPort)Returns anSSLEngineto use for a client connection from LittleProxy to the upstream server.
-
-
-
Method Detail
-
newSslEngine
SSLEngine newSslEngine()
Returns anSSLEngineto use for a server connection from LittleProxy to the client.
-
newSslEngine
SSLEngine newSslEngine(String peerHost, int peerPort)
Returns anSSLEngineto 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.
-
-