@Plugin(name="Ssl", category="Core", printObject=true) public class SslConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
static SslConfiguration |
createSSLConfiguration(String protocol,
KeyStoreConfiguration keyStoreConfig,
TrustStoreConfiguration trustStoreConfig)
Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
|
boolean |
equals(SslConfiguration config) |
SSLServerSocketFactory |
getSslServerSocketFactory() |
SSLSocketFactory |
getSslSocketFactory() |
public SSLSocketFactory getSslSocketFactory()
public SSLServerSocketFactory getSslServerSocketFactory()
public boolean equals(SslConfiguration config)
@PluginFactory public static SslConfiguration createSSLConfiguration(@PluginAttribute(value="protocol") String protocol, @PluginElement(value="KeyStore") KeyStoreConfiguration keyStoreConfig, @PluginElement(value="TrustStore") TrustStoreConfiguration trustStoreConfig)
protocol
- The protocol, see http://docs.oracle.com/javase/7/docs/technotes/guides/security/StandardNames.html#SSLContextkeyStoreConfig
- The KeyStoreConfiguration.trustStoreConfig
- The TrustStoreConfiguration.Copyright © 1999-2017 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.