|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.proxy.extras.SelfSignedMitmManager
public class SelfSignedMitmManager
MitmManager that uses self-signed certs for everything.
| Constructor Summary | |
|---|---|
SelfSignedMitmManager()
|
|
| Method Summary | |
|---|---|
SSLEngine |
clientSslEngineFor(SSLSession serverSslSession)
Creates an SSLEngine for encrypting the client connection based
on the given serverSslSession. |
SSLEngine |
serverSslEngine()
Creates an SSLEngine for encrypting the server connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelfSignedMitmManager()
| Method Detail |
|---|
public SSLEngine serverSslEngine()
MitmManagerSSLEngine for encrypting the server connection.
serverSslEngine in interface MitmManagerpublic SSLEngine clientSslEngineFor(SSLSession serverSslSession)
MitmManager
Creates an SSLEngine for encrypting the client connection based
on the given serverSslSession.
The serverSslSession is provided in case this method needs to inspect the server's certificates or something else about the encryption on the way to the server.
This is the place where one would implement impersonation of the server by issuing replacement certificates signed by the proxy's own certificate.
clientSslEngineFor in interface MitmManagerserverSslSession - the SSLSession that's been established with the server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||