| commit | 64ef9b1d1091ebd8ddf76f5279d9ee4f10a92cfb | [log] [tgz] |
|---|---|---|
| author | Bob Badour <bbadour@google.com> | Thu Oct 06 11:55:12 2022 -0700 |
| committer | Bob Badour <bbadour@google.com> | Thu Oct 06 11:55:12 2022 -0700 |
| tree | 7328cd1572027503ed7d6ab0859c46b7a75a730e | |
| parent | 238816042521dbf5897e4dfe87716b0b4a999e01 [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/rust/crates/pkcs1 Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: I80738f354deb730409e409b34e8f34989724fcd7
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.