Caller-owned TLS 1.3 certificate/PSK-DHE handshake for QUIC CRYPTO streams.
Feed only new contiguous handshake bytes at the level reported by info/1.
Process returned actions in list order. Emitted bytes are committed to the
caller's reliable send queue; retransmission reuses them without another TLS
call. This API implements no sockets, records, QUIC packets or HANDSHAKE_DONE.
See docs/QUIC_TLS_INTERFACE.md for the ownership and authentication boundary.
Summary
Functions
Resolve the state's single outstanding private authority request.
Types
@type action() :: SSL.QUIC.Secret.t() | {:emit, level(), binary()} | {:peer_transport_parameters, binary(), :unverified | :authenticated} | {:peer_authenticated, :server} | {:negotiated_alpn, binary()} | {:session_lookup, SSL.QUIC.Request.t()} | {:session_commit, SSL.QUIC.Request.t()} | {:session_store, SSL.QUIC.Request.t()} | {:session_ticket, SSL.QUIC.Session.t()} | {:early_data, :accepted | :rejected} | :handshake_complete | {:error, SSL.QUIC.Error.t()}
@type level() :: :initial | :handshake | :application
@type result() :: {:ok, state(), [action()]} | {:error, SSL.QUIC.Error.t(), state(), [action()]}
@opaque state()
Functions
Resolve the state's single outstanding private authority request.
@spec new(:client | :server, keyword()) :: {:ok, state(), [action()]} | {:error, SSL.QUIC.Error.t()}