Registry / crypto / cms
library0.2.3rscratesunverified

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

# Cargo.toml [dependencies] cms = "0.2.3"
INSTALL
IMPORT
SIG · CMS
C
cms
cryptorustv0.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ContentInfo
use cms::content_info::ContentInfo;

Decodes a CMS ContentInfo from DER bytes.

use cms::content_info::ContentInfo; use der::Decode; let der_bytes = &[/* DER-encoded CMS data */]; let ci = ContentInfo::from_der(der_bytes).unwrap(); println!("Content type: {:?}", ci.content_type);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
20
Amazon
1
Resources
cms — cargo add cms · libregistry