#signing #pkcs7 #email #crypto

no-std cms

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

5 releases

0.2.3 Jan 8, 2024
0.2.2 Jul 14, 2023
0.2.1 May 4, 2023
0.2.0 Mar 19, 2023
0.1.0 May 8, 2019

#2346 in Cryptography

Download history 1545/week @ 2024-03-14 1643/week @ 2024-03-21 1485/week @ 2024-03-28 1209/week @ 2024-04-04 1144/week @ 2024-04-11 1968/week @ 2024-04-18 5849/week @ 2024-04-25 7917/week @ 2024-05-02 11506/week @ 2024-05-09 11290/week @ 2024-05-16 13090/week @ 2024-05-23 17308/week @ 2024-05-30 17863/week @ 2024-06-06 16409/week @ 2024-06-13 19495/week @ 2024-06-20 13896/week @ 2024-06-27

71,346 downloads per month
Used in 16 crates (11 directly)

Apache-2.0 OR MIT

1MB
18K 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.65 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.6MB
~31K SLoC