public interface SslEngineSource
SSLEngine
s.Modifier and Type | Method and Description |
---|---|
SSLEngine |
newSslEngine()
Returns an
SSLEngine to use for a server connection from
LittleProxy to the client. |
SSLEngine |
newSslEngine(String peerHost,
int peerPort)
Returns an
SSLEngine to use for a client connection from
LittleProxy to the upstream server. |
SSLEngine newSslEngine()
SSLEngine
to use for a server connection from
LittleProxy to the client.SSLEngine newSslEngine(String peerHost, int peerPort)
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).peerHost
- to start a client connection to the server.peerPort
- to start a client connection to the server.Copyright © 2009–2017 LittleShoot. All rights reserved.