@Plugin(name="Ssl", category="Core", printObject=true) public class SslConfiguration extends Object
Modifier and Type | Method | Description |
---|---|---|
void |
clearSecrets() |
Clears the secret fields in this object but still allow it to operate normally.
|
static SslConfiguration |
createSSLConfiguration(String protocol,
KeyStoreConfiguration keyStoreConfig,
TrustStoreConfiguration trustStoreConfig) |
Creates an SslConfiguration from a KeyStoreConfiguration and a TrustStoreConfiguration.
|
boolean |
equals(Object obj) |
|
KeyStoreConfiguration |
getKeyStoreConfig() |
|
String |
getProtocol() |
|
SSLContext |
getSslContext() |
|
SSLServerSocketFactory |
getSslServerSocketFactory() |
|
SSLSocketFactory |
getSslSocketFactory() |
|
TrustStoreConfiguration |
getTrustStoreConfig() |
|
int |
hashCode() |
public void clearSecrets()
public SSLSocketFactory getSslSocketFactory()
public SSLServerSocketFactory getSslServerSocketFactory()
@PluginFactory public static SslConfiguration createSSLConfiguration(@PluginAttribute("protocol") String protocol, @PluginElement("KeyStore") KeyStoreConfiguration keyStoreConfig, @PluginElement("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.public KeyStoreConfiguration getKeyStoreConfig()
public TrustStoreConfiguration getTrustStoreConfig()
public SSLContext getSslContext()
public String getProtocol()
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.