package key-parsers
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=6e10a1e8a8ef1172a5bc2694400d84e52d21d75a36a46814a4b6cd0f936db3f4
sha512=1033269dffaf3a805e8c84dab92fe025a90cfcb6b0938dcaadeffd8c67ad7a3366759209aba3e8dc01ea725ba14cf450b06d66b7cf49cdb59c649fc650ca8b95
README.md.html
README.md
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
andgendsa
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.