SSL.Protocol.Resumption (ex_ssl v0.16.7)

Copy Markdown View Source

Pure TLS 1.3 resumption ticket binder construction over exact ClientHello bytes.

Summary

Functions

bind(encoded_client_hello, ticket, prefix \\ <<>>)

@spec bind(binary(), SSL.SessionTicket.t(), binary()) ::
  {:ok, binary()} | {:error, atom()}

psk_extension(ticket, now_ms)

@spec psk_extension(SSL.SessionTicket.t(), integer()) ::
  {:ok, binary()} | {:error, atom()}