#pkcs #request #certificate #csr #binary-format #text-encoding

yanked pkcs10

DEPRECATED: use the x509-cert crate instead

2 unstable releases

0.2.0 Mar 17, 2024
0.1.0 Mar 12, 2024
0.0.0 Jun 12, 2020

#11 in #csr

Download history 11/week @ 2024-07-28 5/week @ 2024-09-22

93 downloads per month

Apache-2.0 OR MIT

395KB
9K SLoC

RustCrypto: PKCS#10 (Certification Requests)

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of Public-Key Cryptography Standards (PKCS) #10: Certification Request Syntax Specification (RFC 2986).

Documentation

🚨 DEPRECATED! 🚨

The pkcs10 is deprecated and will not receive further updates.

The relevant functionality has been merged into x509_cert::request.

Please switch to the x509-cert crate instead.

About PKCS#10

PKCS#10 is a format for certification requests (sometimes called certificate signing requests). This format usually contains a public key.

You can identify a PKCS#10 request encoded as PEM (i.e. text) by the following:

-----BEGIN CERTIFICATE REQUEST-----

PKCS#10 certification requests can also be serialized in an ASN.1-based binary format. The PEM text encoding is a Base64 representation of this format.

Supported Algorithms

This crate is implemented in an algorithm-agnostic manner with the goal of enabling PKCS#10 support for any algorithm.

That said, it has been tested for interoperability against keys generated by OpenSSL for the following algorithms:

  • RSA (id-rsaEncryption)

Please open an issue if you encounter trouble using it with a particular algorithm, including the ones listed above or other algorithms.

Minimum Supported Rust Version

This crate requires Rust 1.56 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

License

Licensed under either of:

at your option.

Contribution

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.

Dependencies

~2MB
~44K SLoC