SSL.Protocol.ClientHandshake (ex_ssl v0.16.7)

Copy Markdown View Source

Shared record-free ClientHello and HelloRetryRequest orchestration.

Summary

Functions

decode_server_hello(encoded, offer, previous_hrr \\ nil, opts \\ [])

prepare(materialized, trust_source, identity, opts)

@spec prepare(
  SSL.ClientHello.Materializer.Materialized.t(),
  term(),
  SSL.PKIX.identity(),
  keyword()
) ::
  {:ok, map(), binary()} | {:error, term()}

retry(state, hrr)

selected_key_pair(key_pairs, fallback, hello)

validate_hrr_selection(hrr, hello)