Registry / crypto / der
library0.8.0rscratesunverified

Pure Rust embedded-friendly implementation of the Distinguished Encoding Rules (DER) for Abstract Syntax Notation One (ASN.1) as described in ITU X.690 with full support for heapless no_std/no_alloc targets.

# Cargo.toml [dependencies] der = "0.8.0"
INSTALL
IMPORT
SIG · DER
D
der
cryptorustv0.8.0
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.

Decode
use der::Decode;

Decode a DER integer.

use der::Decode; fn main() { let bytes = &[0x02, 0x01, 0x2a]; // INTEGER 42 let (_, val) = der::Integer::from_der(bytes).unwrap(); println!("{:?}", val); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
der — cargo add der · libregistry