package tls

  1. Overview
  2. Docs
val answer_client_hello : hrr:bool -> State.handshake_state -> Core.client_hello -> Cstruct.t -> (State.handshake_state * [> `Change_dec of State.crypto_context | `Change_enc of State.crypto_context | `Record of Packet.content_type * Cstruct.t ] list) State.t
val answer_client_finished : State.handshake_state -> Cstruct.t -> Cstruct.t -> 'a -> Core.session_ticket option -> Cstruct.t -> Cstruct.t -> (State.handshake_state * [> `Change_dec of 'a ] list) State.t
val handle_end_of_early_data : State.handshake_state -> Cstruct_sexp.t -> 'a -> State.crypto_context -> Core.session_ticket option -> Cstruct_sexp.t -> Cstruct_sexp.t -> (State.handshake_state * [> `Change_dec of 'a ] list) State.t
val handle_key_update : State.handshake_state -> Packet.key_update_request_type -> (State.handshake_state * [> `Change_dec of State.crypto_context | `Change_enc of State.crypto_context | `Record of Packet.content_type * Cstruct.t ] list) State.t
OCaml

Innovation. Community. Security.