#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

#2294 in Cryptography

Download history 399/week @ 2024-01-01 1001/week @ 2024-01-08 1280/week @ 2024-01-15 1587/week @ 2024-01-22 1148/week @ 2024-01-29 1048/week @ 2024-02-05 1735/week @ 2024-02-12 2173/week @ 2024-02-19 1473/week @ 2024-02-26 1448/week @ 2024-03-04 1722/week @ 2024-03-11 1534/week @ 2024-03-18 1938/week @ 2024-03-25 1139/week @ 2024-04-01 1108/week @ 2024-04-08 1564/week @ 2024-04-15

5,793 downloads per month
Used in 15 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.5–1.7MB
~32K SLoC