Bug: 249344603

Clone this repo:
  1. 2986894 Migrate 25 crates to monorepo. am: 1d410e2336 by James Farrell · 6 weeks ago main master
  2. 1d410e2 Migrate 25 crates to monorepo. by James Farrell · 6 weeks ago
  3. 2ee4906 Update Android.bp by running cargo_embargo am: cb36bc5fec by James Farrell · 9 weeks ago
  4. cb36bc5 Update Android.bp by running cargo_embargo by James Farrell · 9 weeks ago
  5. c29e13b Update Android.bp by running cargo_embargo am: d81d263c4d am: ce7613634b by James Farrell · 5 months ago android15-tests-dev

RustCrypto: PKCS#1 (RSA)

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2 (RFC 8017).

Documentation

About

This crate supports encoding and decoding RSA private and public keys in either PKCS#1 DER (binary) or PEM (text) formats.

PEM encoded RSA private keys begin with:

-----BEGIN RSA PRIVATE KEY-----

PEM encoded RSA public keys begin with:

-----BEGIN RSA PUBLIC KEY-----

Minimum Supported Rust Version

This crate requires Rust 1.65 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

License

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.