public class BasicSSLContextFactory extends Object implements SSLContextFactory
Modifier and Type | Field and Description |
---|---|
static String |
JAVA_NET_SSL_PREFIX |
protected KeyManagerFactory |
kmf |
protected String |
protocol |
protected TrustManagerFactory |
tmf |
Constructor and Description |
---|
BasicSSLContextFactory() |
Modifier and Type | Method and Description |
---|---|
protected static String |
getProperty(Properties properties,
String property) |
protected static String |
getProperty(Properties properties,
String property,
String defaultValue) |
SSLContext |
getSSLContext() |
void |
init(Properties properties)
Initializes this class with config from
SSLConfig |
protected void |
load(Properties properties) |
public static final String JAVA_NET_SSL_PREFIX
protected KeyManagerFactory kmf
protected TrustManagerFactory tmf
protected String protocol
public void init(Properties properties) throws Exception
SSLContextFactory
SSLConfig
init
in interface SSLContextFactory
properties
- properties form configException
public SSLContext getSSLContext()
getSSLContext
in interface SSLContextFactory
protected void load(Properties properties) throws Exception
Exception
protected static String getProperty(Properties properties, String property)
protected static String getProperty(Properties properties, String property, String defaultValue)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.