public class OpenSSLEngineFactory
extends com.hazelcast.nio.ssl.SSLEngineFactorySupport
implements com.hazelcast.nio.ssl.SSLEngineFactory
SSLEngineFactory for OpenSSL.| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CERT_CHAIN_FILE
Property name which holds path to an X.509 certificate chain file in PEM format.
|
static String |
KEY_FILE
Property name which holds path to a key file (PKCS#8 in PEM format).
|
static String |
KEY_PASSWORD
Property name which holds password (if any) of the key file.
|
static String |
TRUST_CERT_COLLECTION_FILE
Property name which holds path to an X.509 certificate collection file in PEM format.
|
| Constructor and Description |
|---|
OpenSSLEngineFactory() |
| Modifier and Type | Method and Description |
|---|---|
SSLEngine |
create(boolean clientMode) |
protected io.netty.handler.ssl.SslContext |
createSslContext(boolean clientMode) |
void |
init(Properties properties,
boolean forClient) |
public static final String KEY_FILE
public static final String KEY_PASSWORD
public static final String KEY_CERT_CHAIN_FILE
public static final String TRUST_CERT_COLLECTION_FILE
public void init(Properties properties, boolean forClient) throws Exception
init in interface com.hazelcast.nio.ssl.SSLEngineFactoryExceptionpublic SSLEngine create(boolean clientMode)
create in interface com.hazelcast.nio.ssl.SSLEngineFactoryprotected io.netty.handler.ssl.SslContext createSslContext(boolean clientMode)
throws SSLException
SSLExceptionCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.