package key-parsers

  1. Overview
  2. Docs
type t =
  1. | Named of Asn.OID.t
  2. | Implicit
  3. | Specified of Specified_domain.t
val compare : t -> t -> Ppx_deriving_runtime.int
val equal : t -> t -> Ppx_deriving_runtime.bool
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_size_t : t -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_read_t : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_write_t : Bin_prot.Common.buf -> pos:int -> t -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_shape_t : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_reader_t : t Bin_prot.Type_class.reader0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_writer_t : t Bin_prot.Type_class.writer0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val to_yojson : t -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
val of_yojson : Yojson.Safe.json -> (t, string) result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
val grammar : t Asn.t
val encode : t -> Cstruct.t
val decode : Cstruct.t -> (t, string) Result.result