Registry / serialization / asn1-der

asn1-der

JSON →
library0.7.7rscratesunverified

Provides an ASN.1 DER encoder and decoder for structured data.

# Cargo.toml [dependencies] asn1_der = "0.7.7"
INSTALL
IMPORT
SIG · ASN1-DER
A
asn1-der
serializationrustv0.7.7
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.

from_slice
use asn1_der::from_slice;

Decode a DER-encoded integer.

use asn1_der::from_slice; fn main() { let data = &[0x02, 0x01, 0x2a]; // INTEGER 42 let decoded: asn1_der::Integer = from_slice(data).unwrap(); println!("Decoded integer: {:?}", decoded); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
OpenAI (training)
1
Resources
asn1-der — cargo add asn1-der · libregistry