Package com.linkedin.alpini.netty4.ssl
Interface SSLEngineFactory
-
- All Superinterfaces:
SslFactory
- All Known Implementing Classes:
SSLEngineFactoryImpl
public interface SSLEngineFactory extends SslFactory
Factory interface to createSSLEngine
and getSSLSessionContext
objects for Netty4 pipelines
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SSLEngineFactory
adaptSSLFactory(SslFactory factory)
default io.netty.handler.ssl.SslContext
context(boolean isServer)
The default implementation for the anonymous classes below.javax.net.ssl.SSLEngine
createSSLEngine(io.netty.buffer.ByteBufAllocator alloc, boolean isServer)
javax.net.ssl.SSLEngine
createSSLEngine(io.netty.buffer.ByteBufAllocator alloc, java.lang.String host, int port, boolean isServer)
javax.net.ssl.SSLSessionContext
sessionContext(boolean isServer)
-
Methods inherited from interface com.linkedin.alpini.base.ssl.SslFactory
getSSLContext, getSSLParameters, isSslEnabled
-
-
-
-
Method Detail
-
createSSLEngine
javax.net.ssl.SSLEngine createSSLEngine(io.netty.buffer.ByteBufAllocator alloc, java.lang.String host, int port, boolean isServer)
-
createSSLEngine
javax.net.ssl.SSLEngine createSSLEngine(io.netty.buffer.ByteBufAllocator alloc, boolean isServer)
-
sessionContext
javax.net.ssl.SSLSessionContext sessionContext(boolean isServer)
-
context
default io.netty.handler.ssl.SslContext context(boolean isServer)
The default implementation for the anonymous classes below. :69- Parameters:
isServer
-true
for server SSL context.- Returns:
- instance of SslContext
-
adaptSSLFactory
static SSLEngineFactory adaptSSLFactory(SslFactory factory)
-
-