commit | 9581b421ccd6c22f93dc133bda2c275a61cbe225 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Wed Oct 04 12:25:14 2023 +0100 |
committer | David Drysdale <drysdale@google.com> | Wed Oct 04 12:25:14 2023 +0100 |
tree | d290dbfaac85e9a8d75225a8b8eb1417c00131b5 | |
parent | 4e209dee3f63e42b7dde9f068c1ba66b7e48c602 [diff] |
Add baremetal _nostd variant Note that product_available and vendor_available are dropped from the existing target because they are irrelevant for a _host target (as per the change in aosp/2763825). Add a visibility restriction to the new variant to preserve the limitation that this crate should not be used in general Android code. Bug: 303192701 Test: build both variants Change-Id: I158dab8eda7562ba634c2a9f72dfbe490609ae50
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.