rust-asn1
This is a Rust library for parsing and generating ASN.1 data (DER only).
Installation
Add asn1 to the [dependencies] section of your Cargo.toml:
[]
= "0.19"
Builds on Rust 1.59.0 and newer.
rust-asn1 is compatible with #![no_std] environments:
= { = "0.19", = false }
Changelog
[0.19.0]
:rotating_light: Breaking changes
-
GeneralizedTimehas been renamed toX509GeneralizedTime. The type does not allow fractional seconds, however this restriction is not actually a DER rule, it is specific to X.509. (#494) -
GeneralizedTimeis a new type that accepts fractional seconds replacing the oldGeneralizedTime. (#492) -
#[derive(asn1::Asn1Read)]and#[derive(asn1::Asn1Write)]now implement "perfect derives". (#496)