public class SslContextFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
| Modifier | Constructor and Description |
|---|---|
private |
SslContextFactory() |
| Modifier and Type | Method and Description |
|---|---|
static io.netty.handler.ssl.SslContext |
createSslContext(SslConfig config) |
static io.netty.handler.ssl.SslContext |
createSslContext(String sslConfigPath)
Return an
SslContext containing all SSL configurations parsed
from the Properties file path |
public static io.netty.handler.ssl.SslContext createSslContext(String sslConfigPath) throws GeneralSecurityException, IOException
SslContext containing all SSL configurations parsed
from the Properties file path
See SslConfig class for a list of valid config names
sslConfigPath - the SSL config file path required for the storage nodeGeneralSecurityExceptionIOExceptionpublic static io.netty.handler.ssl.SslContext createSslContext(SslConfig config) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.