#signing #pkcs7 #crypto

no-std cms

Pure Rust implementation of the Cryptographic Message Syntax (CMS) as described in RFC 5652 and RFC 3274

6 releases

0.3.0-pre.0 Oct 8, 2024
0.2.3 Jan 8, 2024
0.2.2 Jul 14, 2023
0.2.1 May 4, 2023
0.1.0 May 8, 2019

#2420 in Cryptography

Download history 25490/week @ 2024-08-17 24653/week @ 2024-08-24 29481/week @ 2024-08-31 29164/week @ 2024-09-07 26967/week @ 2024-09-14 28235/week @ 2024-09-21 29840/week @ 2024-09-28 27553/week @ 2024-10-05 30672/week @ 2024-10-12 31431/week @ 2024-10-19 25067/week @ 2024-10-26 28639/week @ 2024-11-02 28955/week @ 2024-11-09 30916/week @ 2024-11-16 27480/week @ 2024-11-23 26847/week @ 2024-11-30

119,735 downloads per month
Used in 21 crates (15 directly)

Apache-2.0 OR MIT

1MB
20K SLoC

RustCrypto: Cryptographic Message Syntax (CMS)

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

Pure Rust implementation of the Cryptographic Message Syntax (CMS) as described in RFC 5652, RFC 5911, and in RFC 3274.

Documentation

About

Cryptographic Message Syntax (CMS) is an IETF standard for encrypted messages, and can be used to sign and/or encrypt data. It uses a certificate-based architecture for authenticating principals who can exchange encrypted and/or signed messages.

CMS is based on the syntax of PKCS #7, itself based on the Privacy-Enhanced Mail (PEM) standard.

It's used in many cryptographic standards, such as S/MIME, PKCS#12 and the RFC 3161 digital timestamping protocol.

Minimum Supported Rust Version

This crate requires Rust 1.75 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

~0.4–1.7MB
~31K SLoC