# RustCrypto: Formats

Cryptography-related format encoders/decoders: PKCS, PKIX.

## Crates

Name | crates.io | Docs | Description |
---|---|---|---|

`base64ct` |
Constant-time encoder and decoder of several Base64 variants | ||

`const‑oid` |
Const-friendly implementation of the ISO/IEC Object Identifier (OID) standard as defined in ITU X.660 | ||

`der` |
Decoder and encoder of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 | ||

`pem‑rfc7468` |
Strict PEM encoding for PKIX/PKCS/CMS objects | ||

`pkcs1` |
Implementation of PKCS#1: RSA Cryptography Specifications Version 2.2 (RFC 8017) | ||

`pkcs5` |
Implementation of PKCS#5: Password-Based Cryptography Specification Version 2.1 (RFC 8018) | ||

`pkcs8` |
Implementation of PKCS#8(v2): Private-Key Information Syntax Specification (RFC 5208) and asymmetric key packages (RFC 5958) | ||

`sec1` |
SEC1: Elliptic Curve Cryptography encoding formats | ||

`spki` |
X.509 Subject Public Key Info (RFC 5280 Section 4.1) describing public keys as well as their associated AlgorithmIdentifiers (i.e. OIDs) | ||

`x509` |
Implementation of the 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.