SSL.ClientHello.Serializer (ex_ssl v0.16.7)

Copy Markdown View Source

Encodes a fully materialized ClientHello AST as an exact handshake message.

Summary

Functions

encode(client_hello)

@spec encode(SSL.ClientHello.AST.t()) :: {:ok, binary()} | {:error, term()}

validate(client_hello)

@spec validate(SSL.ClientHello.AST.t()) :: :ok | {:error, term()}