Bug: 249344603

Clone this repo:
  1. 4e209de Move OWNER reference master=>main. by Sam Saccone · 2 months ago build-tools-release main master
  2. 44c738c Make pkcs1 available to product and vendor am: de003545f0 am: 0a7d05088f by Matthew Maurer · 7 months ago
  3. 0a7d050 Make pkcs1 available to product and vendor am: de003545f0 by Matthew Maurer · 7 months ago android-u-beta-1-gpl
  4. de00354 Make pkcs1 available to product and vendor by Matthew Maurer · 7 months ago
  5. 6deed48 Merge "Upgrade pkcs1 to 0.4.1" am: 50c0040a04 am: af1b6b2ed0 by Treehugger Robot · 10 months ago

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.57 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.