MCPcopy Index your code
hub / github.com/RustCrypto/formats

github.com/RustCrypto/formats @base64ct-v1.5.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release base64ct-v1.5.2 ↗ · + Follow
2,290 symbols 5,263 edges 276 files 639 documented · 28%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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
base64ct crates.io Documentation Constant-time Base64 encoder/decoder with support for several variants
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)
pkcs7 crates.io Documentation Implementation of PKCS#7: Cryptographic Message Syntax v1.5 (RFC 5652 and RFC 8933)
pkcs8 crates.io Documentation Implementation of PKCS#8(v2): Private-Key Information Syntax Specification (RFC 5208) and asymmetric key packages (RFC 5958)
pkcs10 crates.io Documentation Implementation of PKCS#10: Certification Request Syntax Specification (RFC 2986)
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)
ssh-key crates.io Documentation SSH key file formats as described in RFC 4251 and RFC 4253
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.

Extension points exported contracts — how you extend this code

AssociatedOid (Interface)
A trait which associates an OID with a type. [23 implementers]
const-oid/src/lib.rs
Size (Interface)
The `Size` trait needs to be implemented by any struct that should be efficiently serialized. This allows to collect the [12 …
tls_codec/src/lib.rs
PemLabel (Interface)
Marker trait for types with an associated PEM type label. [9 implementers]
pem-rfc7468/src/lib.rs
Alphabet (Interface)
Core encoder/decoder functions for a particular Base64 alphabet. [6 implementers]
base64ct/src/alphabet.rs
FixedTag (Interface)
Types which have a constant ASN.1 [`Tag`]. [40 implementers]
der/src/tag.rs
Encode (Interface)
Encoding trait. This trait describes how to encode a given type. [36 implementers]
ssh-key/src/encode.rs
Alphabet (Interface)
Core encoder/decoder functions for a particular Base64 alphabet [3 implementers]
base32ct/src/alphabet.rs
DecodeRsaPrivateKey (Interface)
Parse an [`RsaPrivateKey`] from a PKCS#1-encoded document. [2 implementers]
pkcs1/src/traits.rs

Core symbols most depended-on inside this repo

len
called by 92
sec1/src/point.rs
iter
called by 88
der/src/arrayvec.rs
to_vec
called by 85
der/src/document.rs
len
called by 63
base64ct/src/line_ending.rs
as_bytes
called by 53
sec1/src/point.rs
tls_serialize_detached
called by 52
tls_codec/src/lib.rs
push
called by 35
x509-cert/src/attr.rs
len
called by 35
base64ct/src/decoder.rs

Shape

Method 1,302
Function 596
Class 262
Enum 87
Interface 43

Languages

Rust100%

Modules by API surface

sec1/src/point.rs47 symbols
tls_codec/derive/tests/decode.rs39 symbols
ssh-key/src/private.rs34 symbols
ssh-key/src/certificate.rs34 symbols
base64ct/src/decoder.rs32 symbols
tls_codec/derive/tests/encode.rs28 symbols
der/src/asn1/any.rs28 symbols
der/src/asn1/bit_string.rs27 symbols
ssh-key/src/authorized_keys.rs26 symbols
der/src/document.rs26 symbols
base64ct/src/encoder.rs26 symbols
tls_codec/derive/src/lib.rs25 symbols

For agents

$ claude mcp add formats \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact