Package io.netty.handler.codec.quic
Class QuicSslContext
- java.lang.Object
-
- io.netty.handler.ssl.SslContext
-
- io.netty.handler.codec.quic.QuicSslContext
-
public abstract class QuicSslContext extends SslContext
SpecialSslContextthat can be used forQUIC.
-
-
Constructor Summary
Constructors Constructor Description QuicSslContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract QuicSslEnginenewEngine(ByteBufAllocator alloc)Creates a newSSLEngine.abstract QuicSslEnginenewEngine(ByteBufAllocator alloc, java.lang.String peerHost, int peerPort)Creates a newSSLEngineusing advisory peer information.abstract QuicSslSessionContextsessionContext()Returns theSSLSessionContextobject held by this context.-
Methods inherited from class io.netty.handler.ssl.SslContext
applicationProtocolNegotiator, attributes, buildKeyManagerFactory, buildKeyStore, buildTrustManagerFactory, buildTrustManagerFactory, buildTrustManagerFactory, cipherSuites, defaultClientProvider, defaultServerProvider, generateKeySpec, isClient, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocols, sessionCacheSize, sessionTimeout, toPrivateKey, toPrivateKey, toX509Certificates, toX509Certificates
-
-
-
-
Method Detail
-
newEngine
public abstract QuicSslEngine newEngine(ByteBufAllocator alloc)
Description copied from class:SslContextCreates a newSSLEngine.If
SslProvider.OPENSSL_REFCNTis used then the object must be released. One way to do this is to wrap in aSslHandlerand insert it into a pipeline. SeeSslContext.newHandler(ByteBufAllocator).- Specified by:
newEnginein classSslContext- Returns:
- a new
SSLEngine
-
newEngine
public abstract QuicSslEngine newEngine(ByteBufAllocator alloc, java.lang.String peerHost, int peerPort)
Description copied from class:SslContextCreates a newSSLEngineusing advisory peer information.If
SslProvider.OPENSSL_REFCNTis used then the object must be released. One way to do this is to wrap in aSslHandlerand insert it into a pipeline. SeeSslContext.newHandler(ByteBufAllocator, String, int).- Specified by:
newEnginein classSslContextpeerHost- the non-authoritative name of the hostpeerPort- the non-authoritative port- Returns:
- a new
SSLEngine
-
sessionContext
public abstract QuicSslSessionContext sessionContext()
Description copied from class:SslContextReturns theSSLSessionContextobject held by this context.- Specified by:
sessionContextin classSslContext
-
-