@Plugin(name="TrustStore", category="Core", printObject=true) public class TrustStoreConfiguration extends AbstractKeyStoreConfiguration
LOGGER| Constructor | Description |
|---|---|
TrustStoreConfiguration(String location,
char[] password,
String keyStoreType,
String trustManagerFactoryAlgorithm) |
Deprecated.
|
TrustStoreConfiguration(String location,
String password,
String keyStoreType,
String trustManagerFactoryAlgorithm) |
Deprecated.
|
TrustStoreConfiguration(String location,
PasswordProvider passwordProvider,
String keyStoreType,
String trustManagerFactoryAlgorithm) |
| Modifier and Type | Method | Description |
|---|---|---|
static TrustStoreConfiguration |
createKeyStoreConfiguration(String location,
char[] password,
String keyStoreType,
String trustManagerFactoryAlgorithm) |
|
static TrustStoreConfiguration |
createKeyStoreConfiguration(String location,
char[] password,
String passwordEnvironmentVariable,
String passwordFile,
String keyStoreType,
String trustManagerFactoryAlgorithm) |
Creates a KeyStoreConfiguration.
|
static TrustStoreConfiguration |
createKeyStoreConfiguration(String location,
String password,
String keyStoreType,
String trustManagerFactoryAlgorithm) |
Deprecated.
Use createKeyStoreConfiguration(String, char[], String, String)
|
boolean |
equals(Object obj) |
|
String |
getTrustManagerFactoryAlgorithm() |
|
int |
hashCode() |
|
TrustManagerFactory |
initTrustManagerFactory() |
getKeyStore, getKeyStoreType, loadclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitclearSecrets, getLocation, getPassword, getPasswordAsCharArray, setLocation, setPassword, setPasswordpublic TrustStoreConfiguration(String location, PasswordProvider passwordProvider, String keyStoreType, String trustManagerFactoryAlgorithm) throws StoreConfigurationException
StoreConfigurationException@Deprecated public TrustStoreConfiguration(String location, char[] password, String keyStoreType, String trustManagerFactoryAlgorithm) throws StoreConfigurationException
TrustStoreConfiguration(String, PasswordProvider, String, String) insteadStoreConfigurationException@Deprecated public TrustStoreConfiguration(String location, String password, String keyStoreType, String trustManagerFactoryAlgorithm) throws StoreConfigurationException
TrustStoreConfiguration(String, PasswordProvider, String, String) insteadStoreConfigurationException@PluginFactory public static TrustStoreConfiguration createKeyStoreConfiguration(@PluginAttribute("location") String location, @PluginAttribute(value="password",sensitive=true) char[] password, @PluginAttribute("passwordEnvironmentVariable") String passwordEnvironmentVariable, @PluginAttribute("passwordFile") String passwordFile, @PluginAttribute("type") String keyStoreType, @PluginAttribute("trustManagerFactoryAlgorithm") 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 static TrustStoreConfiguration createKeyStoreConfiguration(String location, char[] password, String keyStoreType, String trustManagerFactoryAlgorithm) throws StoreConfigurationException
StoreConfigurationException@Deprecated public static TrustStoreConfiguration createKeyStoreConfiguration(String location, String password, String keyStoreType, 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 TrustManagerFactory initTrustManagerFactory() throws NoSuchAlgorithmException, KeyStoreException
public int hashCode()
hashCode in class AbstractKeyStoreConfigurationpublic boolean equals(Object obj)
equals in class AbstractKeyStoreConfigurationpublic String getTrustManagerFactoryAlgorithm()
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.