Class EchRejectedException

All Implemented Interfaces:
Serializable

public final class EchRejectedException extends SSLHandshakeException
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 Details

    • retryConfigs

      public byte[] retryConfigs()
      The server's retry_configs.
      Returns:
      the ECHConfigList, with its two-byte length prefix, as the server sent it; null if it sent none