Module io.netty5.handler
Package io.netty5.handler.ssl
-
Interface Summary Interface Description ApplicationProtocolNegotiator Deprecated. CipherSuiteFilter Provides a means to filter the supplied cipher suite based upon the supported and default cipher suites.JdkApplicationProtocolNegotiator Deprecated. JdkApplicationProtocolNegotiator.ProtocolSelectionListener A listener to be notified by which protocol was select by its peer.JdkApplicationProtocolNegotiator.ProtocolSelectionListenerFactory Factory interface forJdkApplicationProtocolNegotiator.ProtocolSelectionListener
objects.JdkApplicationProtocolNegotiator.ProtocolSelector Interface to define the role of an application protocol selector in the SSL handshake process.JdkApplicationProtocolNegotiator.ProtocolSelectorFactory Factory interface forJdkApplicationProtocolNegotiator.ProtocolSelector
objects.JdkApplicationProtocolNegotiator.SslEngineWrapperFactory Abstract factory pattern for wrapping anSSLEngine
object.OpenSslApplicationProtocolNegotiator Deprecated. OpenSslAsyncPrivateKeyMethod OpenSslCertificateCompressionAlgorithm Provides compression and decompression implementations for TLS Certificate Compression (RFC 8879).OpenSslPrivateKeyMethod Allow customization of private key signing / decrypting (when using RSA). -
Class Summary Class Description AbstractSniHandler<T> Enables SNI (Server Name Indication) extension for server side SSL.ApplicationProtocolConfig Provides anSSLEngine
agnostic way to configure aApplicationProtocolNegotiator
.ApplicationProtocolNames Provides a set of protocol names used in ALPN and NPN.ApplicationProtocolNegotiationHandler Configures aChannelPipeline
depending on the application-level protocol negotiation result ofSslHandler
.Ciphers Cipher suitesCipherSuiteConverter Converts a Java cipher suite string to an OpenSSL cipher suite string and vice versa.DelegatingSslContext Adapter class which allows to wrap anotherSslContext
and initSSLEngine
instances.IdentityCipherSuiteFilter This class will not do any filtering of ciphers suites.JdkAlpnApplicationProtocolNegotiator Deprecated. JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory JdkNpnApplicationProtocolNegotiator Deprecated. JdkSslContext AnSslContext
which uses JDK's SSL/TLS implementation.OpenSsl Tells ifnetty-tcnative
and its OpenSSL support are available.OpenSslCachingX509KeyManagerFactory Wraps anotherKeyManagerFactory
and caches its chains / certs for an alias for better performance when usingSslProvider.OPENSSL
orSslProvider.OPENSSL_REFCNT
.OpenSslCertificateCompressionConfig Configuration for TLS1.3 certificate compression extension.OpenSslCertificateCompressionConfig.AlgorithmConfig The configuration for the algorithm.OpenSslCertificateCompressionConfig.Builder Builder for anOpenSslCertificateCompressionAlgorithm
.OpenSslContext This class will use a finalizer to ensure native resources are automatically cleaned up.OpenSslContextOption<T> OpenSslDefaultApplicationProtocolNegotiator Deprecated. OpenSslEngine Implements aSSLEngine
using OpenSSL BIO abstractions.OpenSslNpnApplicationProtocolNegotiator Deprecated. OpenSslServerSessionContext OpenSslSessionContext
implementation which offers extra methods which are only useful for the server-side.OpenSslSessionContext OpenSSL specificSSLSessionContext
implementation.OpenSslSessionStats Stats exposed by an OpenSSL session context.OpenSslSessionTicketKey Session Ticket KeyOpenSslX509KeyManagerFactory SpecialKeyManagerFactory
that pre-compute the keymaterial used whenSslProvider.OPENSSL
orSslProvider.OPENSSL_REFCNT
is used and so will improve handshake times and its performance.OptionalSslHandler OptionalSslHandler
is a utility decoder to support both SSL and non-SSL handlers based on the first message received.PemPrivateKey This is a special purpose implementation of aPrivateKey
which allows the user to pass PEM/PKCS#8 encoded key material straight intoOpenSslContext
without having to parse and re-encode bytes in Java land.PemX509Certificate This is a special purpose implementation of aX509Certificate
which allows the user to pass PEM/PKCS#8 encoded data straight intoOpenSslContext
without having to parse and re-encode bytes in Java land.ReferenceCountedOpenSslClientContext A client-sideSslContext
which uses OpenSSL's SSL/TLS implementation.ReferenceCountedOpenSslContext An implementation ofSslContext
which works with libraries that support the OpenSsl C library API.ReferenceCountedOpenSslEngine Implements aSSLEngine
using OpenSSL BIO abstractions.ReferenceCountedOpenSslServerContext A server-sideSslContext
which uses OpenSSL's SSL/TLS implementation.SniCompletionEvent Event that is fired once we did a selection of aSslContext
based on theSNI hostname
, which may be because it was successful or there was an error.SniHandler Enables SNI (Server Name Indication) extension for server side SSL.SslClientHelloHandler<T> ByteToMessageDecoder
which allows to be notified once a fullClientHello
was received.SslCloseCompletionEvent Event that is fired once theclose_notify
was received or if a failure happens before it was received.SslCompletionEvent AProtocolEvent
for a completed SSL related event.SslContext A secure socket protocol implementation which acts as a factory forSSLEngine
andSslHandler
.SslContextBuilder Builder for configuring a new SslContext for creation.SslContextOption<T> ASslContextOption
allows to configure aSslContext
in a type-safe way.SslHandler SslHandshakeCompletionEvent Event that is fired once the SSL handshake is complete, which may be because it was successful or there was an error.SslMasterKeyHandler TheSslMasterKeyHandler
is a channel-handler you can include in your pipeline to consume the master key & session identifier for a TLS session.SslProtocols SSL/TLS protocolsSupportedCipherSuiteFilter This class will filter all requested ciphers out that are not supported by the currentSSLEngine
. -
Enum Summary Enum Description ApplicationProtocolConfig.Protocol Defines which application level protocol negotiation to use.ApplicationProtocolConfig.SelectedListenerFailureBehavior Defines the most common behaviors for the peer which is notified of the selected protocol.ApplicationProtocolConfig.SelectorFailureBehavior Defines the most common behaviors for the peer that selects the application protocol.ClientAuth Indicates the state of theSSLEngine
with respect to client authentication.OpenSslCertificateCompressionConfig.AlgorithmMode The usage mode of theOpenSslCertificateCompressionAlgorithm
.SslProvider An enumeration of SSL/TLS protocol providers. -
Exception Summary Exception Description NotSslRecordException SpecialSSLException
which will get thrown if a packet is received that not looks like a TLS/SSL record.OpenSslCertificateException A specialCertificateException
which allows to specify which error code is included in the SSL Record.SslClosedEngineException SSLException
which signals that the exception was caused by anSSLEngine
which was closed already.SslHandshakeTimeoutException SSLHandshakeException
that is used when a handshake failed due a configured timeout.