org.apache.logging.log4j.core.net.ssl
Class SslConfiguration
java.lang.Object
org.apache.logging.log4j.core.net.ssl.SslConfiguration
@Plugin(name="Ssl",
category="Core",
printObject=true)
public class SslConfiguration
- extends Object
SSL Configuration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSslSocketFactory
public SSLSocketFactory getSslSocketFactory()
getSslServerSocketFactory
public SSLServerSocketFactory getSslServerSocketFactory()
equals
public boolean equals(SslConfiguration config)
createSSLConfiguration
@PluginFactory
public static SslConfiguration createSSLConfiguration(@PluginAttribute(value="protocol")
String protocol,
@PluginElement(value="KeyStore")
KeyStoreConfiguration keyStoreConfig,
@PluginElement(value="TrustStore")
TrustStoreConfiguration trustStoreConfig)
- Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
- Parameters:
protocol
- The protocol, see http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#SSLContextkeyStoreConfig
- The KeyStoreConfiguration.trustStoreConfig
- The TrustStoreConfiguration.
- Returns:
- a new SslConfiguration
Copyright © 1999-2014 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.