package key-parsers

  1. Overview
  2. Docs
type t = {
  1. k : Cstruct.t;
  2. params : Params.t option;
  3. public_key : Public.t option;
}
val compare : t -> t -> Ppx_deriving_runtime.int
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val grammar : t Asn.t
val encode : t -> Cstruct.t
val decode : Cstruct.t -> (t, string) Result.result
OCaml

Innovation. Community. Security.