Registry / serialization / picky-asn1-der

picky-asn1-der

JSON →
library0.5.6rscratesunverified

An ASN.1-DER subset for serde, enabling serialization and deserialization of DER-encoded data.

# Cargo.toml [dependencies] picky-asn1-der = "0.5.6"
INSTALL
IMPORT
SIG · PICKY-ASN1-DER
P
picky-asn1-der
serializationrustv0.5.6
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_reader
use picky_asn1_der::from_reader;

Deserializes a DER-encoded integer from a byte stream.

use picky_asn1_der::from_reader; use std::io::Cursor; fn main() { let der_data = b"\x30\x03\x02\x01\x01"; let mut cursor = Cursor::new(der_data); let value: u8 = from_reader(&mut cursor).unwrap(); println!("Decoded: {}", value); }
Debug
Known issues
gotchaOnly supports a subset of ASN.1 DER; complex structures may fail
fix
Check the documentation for supported types; consider using a full ASN.1 library for complex schemas.
affects: >=0.5.0
Upgrade
Version history
0.5.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources
picky-asn1-der — cargo add picky-asn1-der · libregistry