package key-parsers

  1. Overview
  2. Docs

Module Asn1.PKCS8Source

Sourcetype t = [
  1. | `RSA of Rsa.Private.t
  2. | `DSA of Dsa.Params.t * Dsa.Private.t
  3. | `EC of Ec.Params.t * Ec.Private.t
  4. | `DH of Dh.Params.t * Dh.Private.t
]
Sourceval compare : t -> t -> Ppx_deriving_runtime.int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_size_t : t -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval 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
Sourceval bin_write_t : Bin_prot.Common.buf -> pos:int -> t -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_shape_t : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval to_yojson : t -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
Sourceval of_yojson : Yojson.Safe.json -> (t, string) result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
Sourceval rsa_grammar : Rsa.Private.t Asn.t
Sourceval dsa_grammar : (Dsa.Params.t * Dsa.Private.t) Asn.t
Sourceval ec_grammar : (Ec.Params.t * Ec.Private.t) Asn.t
Sourceval dh_grammar : (Dh.Params.t * Dh.Private.t) Asn.t
Sourceval encode : t -> Cstruct.t
Sourceval encode_rsa : Rsa.Private.t -> Cstruct.t
Sourceval encode_dsa : (Dsa.Params.t * Dsa.Private.t) -> Cstruct.t
Sourceval encode_ec : (Ec.Params.t * Ec.Private.t) -> Cstruct.t
Sourceval encode_dh : (Dh.Params.t * Dh.Private.t) -> Cstruct.t
Sourceval decode : Cstruct.t -> (t, string) Result.result
Sourceval decode_rsa : Cstruct.t -> (Rsa.Private.t, string) Result.result
Sourceval decode_dsa : Cstruct.t -> (Dsa.Params.t * Dsa.Private.t, string) Result.result
Sourceval decode_ec : Cstruct.t -> (Ec.Params.t * Ec.Private.t, string) Result.result
Sourceval decode_dh : Cstruct.t -> (Dh.Params.t * Dh.Private.t, string) Result.result
OCaml

Innovation. Community. Security.