package key-parsers

  1. Overview
  2. Docs
type other_prime = {
  1. r : Z.t;
  2. d : Z.t;
  3. t : Z.t;
}
val compare_other_prime : other_prime -> other_prime -> Ppx_deriving_runtime.int
val equal_other_prime : other_prime -> other_prime -> Ppx_deriving_runtime.bool
val pp_other_prime : Ppx_deriving_runtime.Format.formatter -> other_prime -> Ppx_deriving_runtime.unit
val show_other_prime : other_prime -> Ppx_deriving_runtime.string
val bin_other_prime : other_prime Bin_prot.Type_class.t0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_size_other_prime : other_prime -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_read_other_prime : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> other_prime
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_write_other_prime : Bin_prot.Common.buf -> pos:int -> other_prime -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_shape_other_prime : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_reader_other_prime : other_prime Bin_prot.Type_class.reader0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_writer_other_prime : other_prime Bin_prot.Type_class.writer0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val other_prime_to_yojson : other_prime -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
val other_prime_of_yojson : Yojson.Safe.json -> (other_prime, string) Stdlib.result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
type t = {
  1. n : Z.t;
  2. e : Z.t;
  3. d : Z.t;
  4. p : Z.t;
  5. q : Z.t;
  6. dp : Z.t;
  7. dq : Z.t;
  8. qinv : Z.t;
  9. other_primes : other_prime list;
}
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 show : t -> Ppx_deriving_runtime.string
val bin_t : t Bin_prot.Type_class.t0
  • 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) Stdlib.result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
val other_prime_grammar : other_prime Asn.t
val grammar : t Asn.t
val encode : t -> Cstruct.t
val decode : Cstruct.t -> (t, string) Result.result
OCaml

Innovation. Community. Security.