Package io.github.mahmoudimus.quic.tls
Class EchRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
javax.net.ssl.SSLException
javax.net.ssl.SSLHandshakeException
io.github.mahmoudimus.quic.tls.EchRejectedException
- All Implemented Interfaces:
Serializable
A handshake that offered Encrypted Client Hello and that the server completed without it
(RFC 9849 section 6.1.6): the server authenticated as the configuration's public name, and the
client then ended the connection with the
ech_required alert. The connection carried no
application data.
The server's retry configurations, if it sent any, are a securely replaced ECHConfigList to retry with on a new connection; without them the server has securely disabled ECH and a retry would go without it. Whether to retry is the caller's choice: nothing here retries.
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
retryConfigs
public byte[] retryConfigs()The server'sretry_configs.- Returns:
- the ECHConfigList, with its two-byte length prefix, as the server sent it; null if it sent none
-