org.littleshoot.proxy.extras
Class SelfSignedSslEngineSource
java.lang.Object
org.littleshoot.proxy.extras.SelfSignedSslEngineSource
- All Implemented Interfaces:
- SslEngineSource
public class SelfSignedSslEngineSource
- extends Object
- implements SslEngineSource
Basic SslEngineSource for testing. The SSLContext uses
self-signed certificates that are generated lazily if the given key store
file doesn't yet exist.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelfSignedSslEngineSource
public SelfSignedSslEngineSource(String keyStorePath,
boolean trustAllServers,
boolean sendCerts)
SelfSignedSslEngineSource
public SelfSignedSslEngineSource(String keyStorePath)
SelfSignedSslEngineSource
public SelfSignedSslEngineSource(boolean trustAllServers)
SelfSignedSslEngineSource
public SelfSignedSslEngineSource(boolean trustAllServers,
boolean sendCerts)
SelfSignedSslEngineSource
public SelfSignedSslEngineSource()
newSslEngine
public SSLEngine newSslEngine()
- Specified by:
newSslEngine in interface SslEngineSource
getSslContext
public SSLContext getSslContext()
Copyright © 2009-2014 LittleShoot. All Rights Reserved.