commit | f3fdb03cdb50bd593d007f7235519238e9f40bfc | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Thu Mar 09 17:04:43 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Mar 09 17:04:43 2023 +0000 |
tree | e33f939a95a235d2074716d1ed1311ab7ac01454 | |
parent | 2eaaa93f6bd37e533907ec208b97fdd399541f99 [diff] | |
parent | 44c738cf2f1f5f3119032f87ed236608d7377ff3 [diff] |
Make pkcs1 available to product and vendor am: de003545f0 am: 0a7d05088f am: 44c738cf2f Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pkcs1/+/2476312 Change-Id: Ied92490d4943b91ba6fe546f29a5ef8f61fb2738 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.