public class SSLKeystoreConfiguration extends Object implements Serializable
Created by Jeff Gaynor
on Jun 27, 2010 at 11:29:15 AM
Modifier and Type | Field and Description |
---|---|
static String |
JAVA_DEFAULT_KEYSTORE_PASSWORD
The default as shipped with Java.
|
static String |
JAVA_DEFAULT_KEYSTORE_PATH
This path is actually part of the java specification.
|
static String |
JAVA_DEFAULT_KEYSTORE_TYPE
The default type for the built in java keystore.
|
static String |
KEYSTORE_TYPE_JKS |
static String |
KEYSTORE_TYPE_PKCS12 |
Constructor and Description |
---|
SSLKeystoreConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getKeyManagerFactory() |
String |
getKeystore() |
byte[] |
getKeystoreBytes() |
InputStream |
getKeystoreIS() |
String |
getKeystorePassword() |
char[] |
getKeystorePasswordChars()
Get the password to the keystore as a character array
|
String |
getKeystoreType() |
boolean |
isUseDefaultJavaTrustStore() |
static void |
main(String[] args) |
void |
setKeyManagerFactory(String keyManagerFactory) |
void |
setKeystore(String keystore) |
void |
setKeystoreBytes(byte[] keystoreBytes) |
void |
setKeystorePassword(String keystorePassword) |
void |
setKeystoreType(String keystoreType) |
void |
setUseDefaultJavaTrustStore(boolean useDefaultJavaKeyStore) |
String |
toString() |
public static final String KEYSTORE_TYPE_JKS
public static final String KEYSTORE_TYPE_PKCS12
public static final String JAVA_DEFAULT_KEYSTORE_PATH
public static final String JAVA_DEFAULT_KEYSTORE_PASSWORD
public static final String JAVA_DEFAULT_KEYSTORE_TYPE
public boolean isUseDefaultJavaTrustStore()
public void setUseDefaultJavaTrustStore(boolean useDefaultJavaKeyStore)
public void setKeyManagerFactory(String keyManagerFactory)
public void setKeystorePassword(String keystorePassword)
public void setKeystoreType(String keystoreType)
public String getKeystorePassword()
public String getKeystoreType()
public char[] getKeystorePasswordChars()
public void setKeystore(String keystore)
public String getKeystore()
public byte[] getKeystoreBytes()
public void setKeystoreBytes(byte[] keystoreBytes)
public InputStream getKeystoreIS() throws FileNotFoundException
FileNotFoundException
public String getKeyManagerFactory()
public static void main(String[] args)
Copyright © 2019. All Rights Reserved.