Class TLSProtocol.SessionTruncated

java.lang.Object
org.apache.pekko.stream.TLSProtocol.SessionTruncated
All Implemented Interfaces:
TLSProtocol.SslTlsInbound
Direct Known Subclasses:
TLSProtocol.SessionTruncated$
Enclosing class:
TLSProtocol

public abstract static class TLSProtocol.SessionTruncated extends Object implements TLSProtocol.SslTlsInbound
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.
  • Constructor Details

    • SessionTruncated

      public SessionTruncated()