/formats

Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX

Primary LanguageRust

RustCrypto: Formats Project Chat dependency status

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

Crates

Name crates.io Docs Description
base16ct crates.io Documentation Constant-time hexadecimal encoder/decoder
base32ct crates.io Documentation Constant-time Base32 encoder/decoder
base64ct crates.io Documentation Constant-time Base64 encoder/decoder with support for several variants
cms crates.io Documentation Implementation of the Cryptographic Message Syntax (CMS) as described in RFC 5652, RFC 5911, and in RFC 3274.
const‑oid crates.io Documentation Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard as defined in ITU X.660
der crates.io Documentation Decoder and encoder of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690
pem‑rfc7468 crates.io Documentation Strict PEM encoding for PKIX/PKCS/CMS objects
pkcs1 crates.io Documentation Implementation of PKCS#1: RSA Cryptography Specifications Version 2.2 (RFC 8017)
pkcs5 crates.io Documentation Implementation of PKCS#5: Password-Based Cryptography Specification Version 2.1 (RFC 8018)
pkcs8 crates.io Documentation Implementation of PKCS#8(v2): Private-Key Information Syntax Specification (RFC 5208) and asymmetric key packages (RFC 5958)
sec1 crates.io Documentation SEC1: Elliptic Curve Cryptography encoding formats
spki crates.io Documentation X.509 Subject Public Key Info (RFC 5280 Section 4.1) describing public keys as well as their associated AlgorithmIdentifiers (i.e. OIDs)
tai64 crates.io Documentation TAI64(N) Timestamps
tls_codec crates.io Documentation TLS codec as defined in RFC 8446 Section 3 as well as some extensions required by MLS.
x509-cert crates.io Documentation X.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.