package key-parsers

  1. Overview
  2. Docs
type packet_type =
  1. | Session_key
  2. | Signature
  3. | Secret_key
  4. | Public_key
  5. | Secret_subkey
  6. | Id
  7. | Public_subkey
  8. | Unknown_packet
val compare_packet_type : packet_type -> packet_type -> Ppx_deriving_runtime.int
val equal_packet_type : packet_type -> packet_type -> Ppx_deriving_runtime.bool
val pp_packet_type : Ppx_deriving_runtime.Format.formatter -> packet_type -> Ppx_deriving_runtime.unit
val show_packet_type : packet_type -> Ppx_deriving_runtime.string
val name : packet_type -> string
module Header : sig ... end
module Id : sig ... end
module Public_key : sig ... end
module Private_key_value : sig ... end
module Secret_key : sig ... end
module Body : sig ... end
type t = {
  1. header : Header.t;
  2. packet : Body.t;
}
val compare : t -> t -> Ppx_deriving_runtime.int
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val decode : Cstruct.t -> (Cstruct.t * t, Packet_error.t) Stdlib.result
OCaml

Innovation. Community. Security.