#asn-1 #ber #pkcs #der #cryptographic-message-syntax

rasn-cms

Data types for handling Cryptographic Message Syntax

78 releases

Uses new Rust 2024

0.28.8 Feb 20, 2026
0.28.2 Dec 23, 2025
0.28.1 Nov 19, 2025
0.27.0 Jun 27, 2025
0.4.1 Sep 30, 2021

#745 in Cryptography

Download history 141908/week @ 2025-11-13 109449/week @ 2025-11-20 35693/week @ 2025-11-27 25460/week @ 2025-12-04 27325/week @ 2025-12-11 20865/week @ 2025-12-18 6811/week @ 2025-12-25 21182/week @ 2026-01-01 32962/week @ 2026-01-08 14085/week @ 2026-01-15 11461/week @ 2026-01-22 13123/week @ 2026-01-29 16414/week @ 2026-02-05 28960/week @ 2026-02-12 17774/week @ 2026-02-19 15435/week @ 2026-02-26

80,653 downloads per month
Used in 10 crates (5 directly)

MIT/Apache

1MB
27K SLoC

Cryptographic Message Syntax

rasn-cms is an implementation of the data types defined in IETF RFC 4108, RFC 5083, RFC 5084, and RFC 5652. Also known as Cryptographic Message Syntax (CMS) or PKCS#7.

This does not provide an implementation of a CMS generator or validator, instead rasn-cms provides an implementation of the underlying data types used to decode and encode the CMS structures from/to DER or BER.

Dependencies

~6MB
~115K SLoC