commit | 1c5ff7af85318b1f94313d6aefc5666f1719bae0 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Dec 17 07:16:55 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Dec 17 07:16:55 2022 +0000 |
tree | b21aa411dae47d94216d3811c053361a07950aff | |
parent | 9739b78e3e247596af35b26da313a764f46f4fe7 [diff] | |
parent | 0bfee8ff9fd9bcde8a6144d911136f19543d463c [diff] |
Snap for 9415569 from 0bfee8ff9fd9bcde8a6144d911136f19543d463c to udc-d1-release Change-Id: Idd21b5f2a03063e0cadd39f0115ca2efa70e397e
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.