public abstract class SSLManager extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
defaultpw
Have the password available
|
static String |
JAVAX_NET_SSL_KEY_STORE |
Modifier | Constructor and Description |
---|---|
protected |
SSLManager()
Protected Constructor to remove the possibility of directly instantiating
this object.
|
Modifier and Type | Method and Description |
---|---|
void |
configureKeystore(boolean preload,
int startIndex,
int endIndex,
String clientCertAliasVarName)
Configure Keystore
|
void |
destroyKeystore()
Destroy Keystore
|
static SSLManager |
getInstance()
Static accessor for the SSLManager object.
|
protected JmeterKeyStore |
getKeyStore()
Opens and initializes the KeyStore.
|
protected KeyStore |
getTrustStore()
Opens and initializes the TrustStore.
|
static boolean |
isSSLSupported()
Test whether SSL is supported or not.
|
static void |
reset()
Resets the SSLManager so that we can create a new one with a new keystore
|
abstract void |
setContext(HttpURLConnection conn) |
protected void |
setProvider(Provider provider)
Default implementation of setting the Provider
|
public static final String JAVAX_NET_SSL_KEY_STORE
protected String defaultpw
protected SSLManager()
public static void reset()
public abstract void setContext(HttpURLConnection conn)
protected void setProvider(Provider provider)
protected JmeterKeyStore getKeyStore()
protected KeyStore getTrustStore()
public static final SSLManager getInstance()
public static final boolean isSSLSupported()
public void configureKeystore(boolean preload, int startIndex, int endIndex, String clientCertAliasVarName)
preload
- startIndex
- endIndex
- clientCertAliasVarName
- public void destroyKeystore()
Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved.