Package com.linkedin.alpini.netty4.ssl
Interface SSLEngineFactory
-
- All Superinterfaces:
SslFactory
- All Known Implementing Classes:
SSLEngineFactoryImpl
public interface SSLEngineFactory extends SslFactory
Factory interface to createSSLEngineand getSSLSessionContextobjects for Netty4 pipelines
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SSLEngineFactoryadaptSSLFactory(SslFactory factory)default io.netty.handler.ssl.SslContextcontext(boolean isServer)The default implementation for the anonymous classes below.javax.net.ssl.SSLEnginecreateSSLEngine(io.netty.buffer.ByteBufAllocator alloc, boolean isServer)javax.net.ssl.SSLEnginecreateSSLEngine(io.netty.buffer.ByteBufAllocator alloc, java.lang.String host, int port, boolean isServer)javax.net.ssl.SSLSessionContextsessionContext(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-truefor server SSL context.- Returns:
- instance of SslContext
-
adaptSSLFactory
static SSLEngineFactory adaptSSLFactory(SslFactory factory)
-
-