@Plugin(name="KeyStore", category="Core", printObject=true) public class KeyStoreConfiguration extends AbstractKeyStoreConfiguration
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
keyManagerFactoryAlgorithm |
LOGGER| Constructor and Description |
|---|
KeyStoreConfiguration(java.lang.String location,
java.lang.String password,
java.lang.String keyStoreType,
java.lang.String keyManagerFactoryAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
static KeyStoreConfiguration |
createKeyStoreConfiguration(java.lang.String location,
java.lang.String password,
java.lang.String keyStoreType,
java.lang.String keyManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
javax.net.ssl.KeyManagerFactory |
initKeyManagerFactory() |
getKeyStore, loadgetLocation, getPassword, getPasswordAsCharArray, setLocation, setPasswordpublic KeyStoreConfiguration(java.lang.String location,
java.lang.String password,
java.lang.String keyStoreType,
java.lang.String keyManagerFactoryAlgorithm)
throws StoreConfigurationException
StoreConfigurationException - Thrown if this instance cannot load the KeyStore.@PluginFactory public static KeyStoreConfiguration createKeyStoreConfiguration(@PluginAttribute(value="location") java.lang.String location, @PluginAttribute(value="password",sensitive=true) java.lang.String password, @PluginAttribute(value="type") java.lang.String keyStoreType, @PluginAttribute(value="keyManagerFactoryAlgorithm") java.lang.String keyManagerFactoryAlgorithm) throws StoreConfigurationException
location - The location of the KeyStore.password - The password to access the KeyStore.keyStoreType - The KeyStore type, null defaults to "JKS".keyManagerFactoryAlgorithm - The standard name of the requested algorithm. See the Java Secure Socket Extension Reference Guide for information about these names.StoreConfigurationException - Thrown if this call cannot load the KeyStore.public javax.net.ssl.KeyManagerFactory initKeyManagerFactory()
throws java.security.NoSuchAlgorithmException,
java.security.UnrecoverableKeyException,
java.security.KeyStoreException
java.security.NoSuchAlgorithmExceptionjava.security.UnrecoverableKeyExceptionjava.security.KeyStoreExceptionpublic int hashCode()
hashCode in class AbstractKeyStoreConfigurationpublic boolean equals(java.lang.Object obj)
equals in class AbstractKeyStoreConfiguration