Class SslContextFactory
- java.lang.Object
-
- io.debezium.connector.cassandra.network.SslContextFactory
-
public class SslContextFactory extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static org.slf4j.LoggerLOGGER
-
Constructor Summary
Constructors Modifier Constructor Description privateSslContextFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.netty.handler.ssl.SslContextcreateSslContext(SslConfig config)static io.netty.handler.ssl.SslContextcreateSslContext(String sslConfigPath)Return anSslContextcontaining all SSL configurations parsed from the Properties file path
-
-
-
Method Detail
-
createSslContext
public static io.netty.handler.ssl.SslContext createSslContext(String sslConfigPath) throws GeneralSecurityException, IOException
Return anSslContextcontaining all SSL configurations parsed from the Properties file pathSee
SslConfigclass for a list of valid config names- Parameters:
sslConfigPath- the SSL config file path required for the storage node- Returns:
- SslContext
- Throws:
GeneralSecurityExceptionIOException
-
createSslContext
public static io.netty.handler.ssl.SslContext createSslContext(SslConfig config) throws GeneralSecurityException, IOException
- Throws:
GeneralSecurityExceptionIOException
-
-