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