TLSProtocol
Attributes
- Source
- SslTlsOptions.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TLSProtocol.type
Members list
Type members
Classlikes
Initiate a new session negotiation. Any SendBytes commands following this one will be held back (i.e. back-pressured) until the new handshake is completed, meaning that the bytes following this message will be encrypted according to the requirements outlined here.
Initiate a new session negotiation. Any SendBytes commands following this one will be held back (i.e. back-pressured) until the new handshake is completed, meaning that the bytes following this message will be encrypted according to the requirements outlined here.
Each of the values in this message is optional and will have the following effect if provided:
enabledCipherSuiteswill be passed toSSLEngine::setEnabledCipherSuites()enabledProtocolswill be passed toSSLEngine::setEnabledProtocols()clientAuthwill be passed toSSLEngine::setWantClientAuth()orSSLEngine.setNeedClientAuth(), respectivelysslParameterswill be passed toSSLEngine::setSSLParameters()
Please note that passing clientAuth = None means that no change is done on client authentication requirements while clientAuth = Some(ClientAuth.None) switches off client authentication.
Attributes
- Companion
- object
- Source
- SslTlsOptions.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SslTlsOutboundclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object NegotiateNewSession
Attributes
- Companion
- class
- Source
- SslTlsOptions.scala
- Supertypes
-
trait Producttrait Mirrorclass NegotiateNewSessiontrait Serializabletrait Producttrait Equalstrait SslTlsOutboundclass Objecttrait Matchableclass AnyShow all
- Self type
-
NegotiateNewSession.type
Send the given pekko.util.ByteString across the encrypted session to the peer.
Send the given pekko.util.ByteString across the encrypted session to the peer.
Attributes
- Source
- SslTlsOptions.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SslTlsOutboundclass Objecttrait Matchableclass AnyShow all
Plaintext bytes emitted by the SSLEngine are received over one specific encryption session and this class bundles the bytes with the SSLSession object. When the session changes due to renegotiation (which can be initiated by either party) the new session value will not compare equal to the previous one.
Plaintext bytes emitted by the SSLEngine are received over one specific encryption session and this class bundles the bytes with the SSLSession object. When the session changes due to renegotiation (which can be initiated by either party) the new session value will not compare equal to the previous one.
The Java API for getting session information is given by the SSLSession object, the Scala API adapters are offered below.
Attributes
- Source
- SslTlsOptions.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ScalaSessionAPItrait SslTlsInboundclass Objecttrait Matchableclass AnyShow all
If the underlying transport is closed before the final TLS closure command is received from the peer then the SSLEngine will throw an SSLException that warns about possible truncation attacks. This exception is caught and translated into this message when encountered. Most of the time this occurs not because of a malicious attacker but due to a connection abort or a misbehaving communication peer.
If the underlying transport is closed before the final TLS closure command is received from the peer then the SSLEngine will throw an SSLException that warns about possible truncation attacks. This exception is caught and translated into this message when encountered. Most of the time this occurs not because of a malicious attacker but due to a connection abort or a misbehaving communication peer.
Attributes
- Companion
- object
- Source
- SslTlsOptions.scala
- Supertypes
- Known subtypes
-
object SessionTruncated
Attributes
- Companion
- class
- Source
- SslTlsOptions.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass SessionTruncatedtrait SslTlsInboundclass Objecttrait Matchableclass AnyShow all
- Self type
-
SessionTruncated.type
This is the supertype of all messages that the SslTls operator emits on the plaintext side.
This is the supertype of all messages that the SslTls operator emits on the plaintext side.
Attributes
- Source
- SslTlsOptions.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
This is the supertype of all messages that the SslTls operator accepts on its plaintext side.
This is the supertype of all messages that the SslTls operator accepts on its plaintext side.
Attributes
- Source
- SslTlsOptions.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Value members
Concrete methods
Java API: obtain the default value of NegotiateNewSession (which will leave the SSLEngine’s settings unchanged).
Java API: obtain the default value of NegotiateNewSession (which will leave the SSLEngine’s settings unchanged).
Attributes
- Source
- SslTlsOptions.scala