org.littleshoot.proxy
Class SelfSignedKeyStoreManager
java.lang.Object
org.littleshoot.proxy.SelfSignedKeyStoreManager
- All Implemented Interfaces:
- KeyStoreManager
public class SelfSignedKeyStoreManager
- extends Object
- implements KeyStoreManager
KeyStore manager that automatically generates a self-signed certificate
on startup if it doesn't already exist.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelfSignedKeyStoreManager
public SelfSignedKeyStoreManager()
SelfSignedKeyStoreManager
public SelfSignedKeyStoreManager(boolean regenerate)
getBase64Cert
public String getBase64Cert(String id)
- Specified by:
getBase64Cert in interface KeyStoreManager
keyStoreAsInputStream
public InputStream keyStoreAsInputStream()
- Specified by:
keyStoreAsInputStream in interface KeyStoreManager
trustStoreAsInputStream
public InputStream trustStoreAsInputStream()
getCertificatePassword
public char[] getCertificatePassword()
- Specified by:
getCertificatePassword in interface KeyStoreManager
getKeyStorePassword
public char[] getKeyStorePassword()
- Specified by:
getKeyStorePassword in interface KeyStoreManager
addBase64Cert
public void addBase64Cert(String alias,
String base64Cert)
getTrustManagers
public TrustManager[] getTrustManagers()
Copyright © 2009-2013 LittleShoot. All Rights Reserved.