Package io.netty.handler.ssl
SSL ·
TLS implementation based on
SSLEngine-
Interface Summary Interface Description ApplicationProtocolAccessor Provides a way to get the application-level protocol name from ALPN or NPN.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.ProtocolSelectionListenerobjects.JdkApplicationProtocolNegotiator.ProtocolSelector Interface to define the role of an application protocol selector in the SSL handshake process.JdkApplicationProtocolNegotiator.ProtocolSelectorFactory Factory interface forJdkApplicationProtocolNegotiator.ProtocolSelectorobjects.JdkApplicationProtocolNegotiator.SslEngineWrapperFactory Abstract factory pattern for wrapping anSSLEngineobject.OpenSslApplicationProtocolNegotiator Deprecated. OpenSslKeyMaterial Holds references to the native key-material that is used by OpenSSL.OpenSslSession OpenSslX509TrustManagerWrapper.TrustManagerWrapper PemEncoded A marker interface for PEM encoded values. -
Class Summary Class Description AbstractSniHandler<T> Enables SNI (Server Name Indication) extension for server side SSL.ApplicationProtocolConfig Provides anSSLEngineagnostic way to configure aApplicationProtocolNegotiator.ApplicationProtocolNames Provides a set of protocol names used in ALPN and NPN.ApplicationProtocolNegotiationHandler Configures aChannelPipelinedepending on the application-level protocol negotiation result ofSslHandler.ApplicationProtocolUtil Utility class for application protocol common operations.DelegatingSslContext Adapter class which allows to wrap anotherSslContextand initSSLEngineinstances.ExtendedOpenSslSession Delegates all operations to a wrappedOpenSslSessionexcept the methods defined byExtendedSSLSessionitself.IdentityCipherSuiteFilter This class will not do any filtering of ciphers suites.Java7SslParametersUtils Java8SslUtils JdkAlpnApplicationProtocolNegotiator Deprecated. JdkAlpnApplicationProtocolNegotiator.AlpnWrapper JdkAlpnApplicationProtocolNegotiator.FailureWrapper JdkAlpnSslEngine JdkAlpnSslUtils JdkApplicationProtocolNegotiator.AllocatorAwareSslEngineWrapperFactory JdkBaseApplicationProtocolNegotiator Common base class forJdkApplicationProtocolNegotiatorclasses to inherit from.JdkBaseApplicationProtocolNegotiator.FailProtocolSelectionListener JdkBaseApplicationProtocolNegotiator.FailProtocolSelector JdkBaseApplicationProtocolNegotiator.NoFailProtocolSelectionListener JdkBaseApplicationProtocolNegotiator.NoFailProtocolSelector JdkDefaultApplicationProtocolNegotiator TheJdkApplicationProtocolNegotiatorto use if you do not care about NPN or ALPN and are usingSslProvider.JDK.JdkNpnApplicationProtocolNegotiator Deprecated. JdkSslClientContext Deprecated. JdkSslContext AnSslContextwhich uses JDK's SSL/TLS implementation.JdkSslEngine JdkSslServerContext Deprecated. KeyManagerFactoryWrapper OpenSslDefaultApplicationProtocolNegotiator Deprecated. OpenSslJavaxX509Certificate OpenSslNpnApplicationProtocolNegotiator Deprecated. OpenSslX509Certificate OpenSslX509TrustManagerWrapper Utility which allows to wrapX509TrustManagerimplementations with the internal implementation used bySSLContextImplthat provides extended verification.OpenSslX509TrustManagerWrapper.UnsafeTrustManagerWrapper OptionalSslHandler OptionalSslHandleris 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 aPrivateKeywhich allows the user to pass PEM/PKCS#8 encoded key material straight intoOpenSslContextwithout having to parse and re-encode bytes in Java land.PemReader Reads a PEM file and converts it into a list of DERs so that they are imported into aKeyStoreeasily.PemValue A PEM encoded value.PemX509Certificate This is a special purpose implementation of aX509Certificatewhich allows the user to pass PEM/PKCS#8 encoded data straight intoOpenSslContextwithout having to parse and re-encode bytes in Java land.PseudoRandomFunction This pseudorandom function (PRF) takes as input a secret, a seed, and an identifying label and produces an output of arbitrary length.SignatureAlgorithmConverter Converts OpenSSL signature Algorithm names to Java signature Algorithm names.SniCompletionEvent Event that is fired once we did a selection of aSslContextbased 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.SniHandler.AsyncMappingAdapter SniHandler.Selection SslClientHelloHandler<T> ByteToMessageDecoderwhich allows to be notified once a fullClientHellowas received.SslCloseCompletionEvent Event that is fired once the close_notify was received or if an failure happens before it was received.SslCompletionEvent SslContext A secure socket protocol implementation which acts as a factory forSSLEngineandSslHandler.SslContextBuilder Builder for configuring a new SslContext for creation.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 TheSslMasterKeyHandleris a channel-handler you can include in your pipeline to consume the master key & session identifier for a TLS session.SslMasterKeyHandler.WiresharkSslMasterKeyHandler Record the session identifier and master key to theInternalLoggernamedio.netty.wireshark.SslUtils Constants for SSL packets.SupportedCipherSuiteFilter This class will filter all requested ciphers out that are not supported by the currentSSLEngine.TrustManagerFactoryWrapper -
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 theSSLEnginewith respect to client authentication.SslHandler.SslEngineType SslProvider An enumeration of SSL/TLS protocol providers. -
Exception Summary Exception Description NotSslRecordException SpecialSSLExceptionwhich will get thrown if a packet is received that not looks like a TLS/SSL record.SslHandshakeTimeoutException SSLHandshakeExceptionthat is used when a handshake failed due a configured timeout.