commit | 1152938be7c6aaa439ba14131511872c4f7af402 | [log] [tgz] |
---|---|---|
author | Jeff Vander Stoep <jeffv@google.com> | Tue Dec 13 12:27:44 2022 +0100 |
committer | Jeff Vander Stoep <jeffv@google.com> | Tue Dec 13 12:29:33 2022 +0100 |
tree | b21aa411dae47d94216d3811c053361a07950aff | |
parent | 64ef9b1d1091ebd8ddf76f5279d9ee4f10a92cfb [diff] |
Upgrade pkcs1 to 0.4.1 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update rust/crates/pkcs1 For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Test: TreeHugger Change-Id: I75199656097167fce5b1b043f8e93b326aacde9a
Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.2 (RFC 8017).
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-----
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.
Licensed under either of:
at your option.
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.