JsseSSLManagerpublic abstract class SSLManager extends Object
| Modifier and Type | Field | Description |
|---|---|---|
protected String |
defaultpw |
Have the password available
|
static String |
JAVAX_NET_SSL_KEY_STORE |
| Modifier | Constructor | Description |
|---|---|---|
protected |
SSLManager() |
Protected Constructor to remove the possibility of directly instantiating
this object.
|
| Modifier and Type | Method | 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)
provider - the provider to useprotected JmeterKeyStore getKeyStore()
JmeterKeyStoreprotected KeyStore getTrustStore()
public static final SSLManager getInstance()
SSLManagerpublic static final boolean isSSLSupported()
public void configureKeystore(boolean preload,
int startIndex,
int endIndex,
String clientCertAliasVarName)
preload - flag whether the keystore should be opened within this method,
or the opening should be delayedstartIndex - first index to consider for a keyendIndex - last index to consider for a keyclientCertAliasVarName - name of the default key, if empty the first key will be used
as default keypublic void destroyKeystore()
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.