commit | 2eaaa93f6bd37e533907ec208b97fdd399541f99 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Dec 16 20:36:52 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Dec 16 20:36:52 2022 +0000 |
tree | b21aa411dae47d94216d3811c053361a07950aff | |
parent | 6fe47f1ec848bd913eeae4a07488f5e523f0bfa5 [diff] | |
parent | 6deed48302d837414874a9bd4a79d2ce3586d44a [diff] |
Merge "Upgrade pkcs1 to 0.4.1" am: 50c0040a04 am: af1b6b2ed0 am: 6deed48302 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pkcs1/+/2348523 Change-Id: I38c3946304549ed8730d3859ff4722556887fc15 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.