RustCrypto: Formats

Cryptography-related format encoders/decoders (e.g. PKCS, PKIX)

Crates

Namecrates.ioDocsDescription
base16ctConstant-time hexadecimal encoder/decoder
base32ctConstant-time Base32 encoder/decoder
base64ctConstant-time Base64 encoder/decoder with support for several variants
cmsImplementation of the Cryptographic Message Syntax (CMS) as described in RFC 5652, RFC 5911, and in RFC 3274.
const‑oidConst-friendly implementation of the ISO/IEC Object Identifier (OID) standard as defined in ITU X.660
derDecoder and encoder of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690
pem‑rfc7468Strict PEM encoding for PKIX/PKCS/CMS objects
pkcs1Implementation of PKCS#1: RSA Cryptography Specifications Version 2.2 (RFC 8017)
pkcs5Implementation of PKCS#5: Password-Based Cryptography Specification Version 2.1 (RFC 8018)
pkcs8Implementation of PKCS#8(v2): Private-Key Information Syntax Specification (RFC 5208) and asymmetric key packages (RFC 5958)
sec1SEC1: Elliptic Curve Cryptography encoding formats
spkiX.509 Subject Public Key Info (RFC 5280 Section 4.1) describing public keys as well as their associated AlgorithmIdentifiers (i.e. OIDs)
tai64TAI64(N) Timestamps
tls_codecTLS codec as defined in RFC 8446 Section 3 as well as some extensions required by MLS.
x509-certX.509 Public Key Infrastructure Certificate format as described in RFC 5280

License

All crates licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.