@Plugin(name="TrustStore", category="Core", printObject=true) public class TrustStoreConfiguration extends AbstractKeyStoreConfiguration
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
trustManagerFactoryAlgorithm |
LOGGER| Constructor and Description |
|---|
TrustStoreConfiguration(java.lang.String location,
char[] password,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm)
Deprecated.
|
TrustStoreConfiguration(java.lang.String location,
PasswordProvider passwordProvider,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm) |
TrustStoreConfiguration(java.lang.String location,
java.lang.String password,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static TrustStoreConfiguration |
createKeyStoreConfiguration(java.lang.String location,
char[] password,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm)
|
static TrustStoreConfiguration |
createKeyStoreConfiguration(java.lang.String location,
char[] password,
java.lang.String passwordEnvironmentVariable,
java.lang.String passwordFile,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm)
Creates a KeyStoreConfiguration.
|
static TrustStoreConfiguration |
createKeyStoreConfiguration(java.lang.String location,
java.lang.String password,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm)
Deprecated.
Use createKeyStoreConfiguration(String, char[], String, String)
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTrustManagerFactoryAlgorithm() |
int |
hashCode() |
javax.net.ssl.TrustManagerFactory |
initTrustManagerFactory() |
getKeyStore, getKeyStoreType, loadclearSecrets, getLocation, getPassword, getPasswordAsCharArray, setLocation, setPassword, setPasswordprivate final java.lang.String trustManagerFactoryAlgorithm
public TrustStoreConfiguration(java.lang.String location,
PasswordProvider passwordProvider,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm)
throws StoreConfigurationException
StoreConfigurationException@Deprecated
public TrustStoreConfiguration(java.lang.String location,
char[] password,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm)
throws StoreConfigurationException
TrustStoreConfiguration(String, PasswordProvider, String, String) insteadStoreConfigurationException@Deprecated
public TrustStoreConfiguration(java.lang.String location,
java.lang.String password,
java.lang.String keyStoreType,
java.lang.String trustManagerFactoryAlgorithm)
throws StoreConfigurationException
TrustStoreConfiguration(String, PasswordProvider, String, String) insteadStoreConfigurationException@PluginFactory public static TrustStoreConfiguration createKeyStoreConfiguration(@PluginAttribute(value="location") java.lang.String location, @PluginAttribute(value="password",sensitive=true) char[] password, @PluginAttribute(value="passwordEnvironmentVariable") java.lang.String passwordEnvironmentVariable, @PluginAttribute(value="passwordFile") java.lang.String passwordFile, @PluginAttribute(value="type") java.lang.String keyStoreType, @PluginAttribute(value="trustManagerFactoryAlgorithm") java.lang.String trustManagerFactoryAlgorithm) throws StoreConfigurationException
location - The location of the KeyStore, a file path, URL or resource.password - The password to access the KeyStore.keyStoreType - The KeyStore type, null defaults to "JKS".trustManagerFactoryAlgorithm - The standard name of the requested trust management algorithm. See the Java Secure Socket Extension Reference Guide for information these names.StoreConfigurationException - Thrown if this instance cannot load the KeyStore.@Deprecated public static TrustStoreConfiguration createKeyStoreConfiguration(java.lang.String location, char[] password, java.lang.String keyStoreType, java.lang.String trustManagerFactoryAlgorithm) throws StoreConfigurationException
StoreConfigurationException@Deprecated public static TrustStoreConfiguration createKeyStoreConfiguration(java.lang.String location, java.lang.String password, java.lang.String keyStoreType, java.lang.String trustManagerFactoryAlgorithm) throws StoreConfigurationException
location - The location of the KeyStore, a file path, URL or resource.password - The password to access the KeyStore.keyStoreType - The KeyStore type, null defaults to "JKS".trustManagerFactoryAlgorithm - The standard name of the requested trust management algorithm. See the Java
Secure Socket Extension Reference Guide for information these names.StoreConfigurationException - Thrown if this instance cannot load the KeyStore.public javax.net.ssl.TrustManagerFactory initTrustManagerFactory()
throws java.security.NoSuchAlgorithmException,
java.security.KeyStoreException
java.security.NoSuchAlgorithmExceptionjava.security.KeyStoreExceptionpublic int hashCode()
hashCode in class AbstractKeyStoreConfigurationpublic boolean equals(java.lang.Object obj)
equals in class AbstractKeyStoreConfigurationpublic java.lang.String getTrustManagerFactoryAlgorithm()