package key-parsers

Build not checked
  1. Overview
  2. Docs
Parsers for multiple key formats

Install

dune-project
 Dependency

Authors

Maintainers

Sources

key-parsers-1.0.0.tbz
sha256=6e10a1e8a8ef1172a5bc2694400d84e52d21d75a36a46814a4b6cd0f936db3f4
sha512=1033269dffaf3a805e8c84dab92fe025a90cfcb6b0938dcaadeffd8c67ad7a3366759209aba3e8dc01ea725ba14cf450b06d66b7cf49cdb59c649fc650ca8b95

Description

This library provides parsers for several encodings of RSA, DSA, Diffie-Hellman or Elliptic curve public and private keys.

Added to opam-repository:

README

Build Status docs

Key-parsers

Key-parsers offers parsers and printers for various asymmetric key formats.

It currently comes with three submodules.

Asn1

Note that all the parsers in this module expect the raw DER encoded byte string. They don't handle PEM armoring (----BEGIN X---- and ----END X----) nor decode Base64 or hex.

Here you can find parsers for the following formats:

  • PKCS#1 encoding of RSA Private and Public keys as defined in PKCS#1 v2.2
  • PKCS#8 encoding of RSA, DSA, EC and DH Private keys as defined in RFC5208
  • X509 SubjectPublicKeyInfo encoding of RSA, DSA, EC and DH Public keys as defined in RFC5280
  • DER encodings of DSA, EC and DH Parameters and Private keys as produced by openssl commands such as dsaparam and gendsa

Ltpa

Parsers for LTPA (Ligthweight Third Party Authentication) encodings of RSA Private and Public keys.

Cvc

Parsers for CVC (Card Verifiable Certificates) encodings of RSA and EC Public keys.

Dependencies (8)

  1. zarith >= "1.4.1"
  2. result >= "1.2"
  3. ppx_deriving >= "4.2"
  4. ocaml >= "4.04.1"
  5. hex >= "1.0.0"
  6. dune >= "1.0"
  7. cstruct >= "1.6.0" & < "6.1.0"
  8. asn1-combinators >= "0.2.0" & < "0.3.0"

Dev Dependencies (1)

  1. ounit with-test & >= "2.0.0"

Optional Dependencies

None

Used by

None

Conflicts (1)

  1. ppx_driver = "v0.9.1"

Build status

Results of building key-parsers with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
1.5.0 good good n/a n/a n/a
1.3.0 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure