org.apache.logging.log4j.core.net.ssl
Class TrustStoreConfiguration

java.lang.Object
  extended by org.apache.logging.log4j.core.net.ssl.StoreConfiguration
      extended by org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration

public class TrustStoreConfiguration
extends StoreConfiguration

The TrustStoreConfiguration.


Field Summary
 
Fields inherited from class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
LOGGER
 
Constructor Summary
TrustStoreConfiguration(String location, String password)
           
 
Method Summary
static TrustStoreConfiguration createTrustStoreConfiguration(String location, String password)
          Create a TrustStoreConfiguration.
 KeyStore getTrustStore()
           
protected  void load()
           
 
Methods inherited from class org.apache.logging.log4j.core.net.ssl.StoreConfiguration
equals, getLocation, getPassword, getPasswordAsCharArray, setLocation, setPassword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustStoreConfiguration

public TrustStoreConfiguration(String location,
                               String password)
Method Detail

load

protected void load()
             throws StoreConfigurationException
Overrides:
load in class StoreConfiguration
Throws:
StoreConfigurationException

getTrustStore

public KeyStore getTrustStore()
                       throws StoreConfigurationException
Throws:
StoreConfigurationException

createTrustStoreConfiguration

public static TrustStoreConfiguration createTrustStoreConfiguration(String location,
                                                                    String password)
Create a TrustStoreConfiguration.

Parameters:
location - The location of the TrustStore.
password - The password required to access the TrustStore.
Returns:


Copyright © 1999-2013 Apache Software Foundation. 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.