Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - alex/rust-asn1: A Rust ASN.1 (DER) serializer.

A Rust ASN.1 (DER) serializer. Contribute to alex/rust-asn1 development by creating an account on GitHub.

Visit SiteGitHub - alex/rust-asn1: A Rust ASN.1 (DER) serializer.

GitHub - alex/rust-asn1: A Rust ASN.1 (DER) serializer.

A Rust ASN.1 (DER) serializer. Contribute to alex/rust-asn1 development by creating an account on GitHub.

Powered by 0x5a.live 💗

rust-asn1

Dependency Status Documentation

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:

[dependencies]
asn1 = "0.20"

Builds on Rust 1.59.0 and newer.

rust-asn1 is compatible with #![no_std] environments:

asn1 = { version = "0.20", default-features = false }

Changelog

[0.20.0]

:rotating_light: Breaking changes

  • Removed Writer::{write_explicit_element, write_optional_explicit_element, write_implicit_element, write_optional_implicit_element}. These can all be better accomplished with the asn1::Explicit and asn1::Implicit types.

Fixes

[0.19.0]

:rotating_light: Breaking changes

  • GeneralizedTime has been renamed to X509GeneralizedTime. The type does not allow fractional seconds, however this restriction is not actually a DER rule, it is specific to X.509. (#494)

  • GeneralizedTime is a new type that accepts fractional seconds replacing the old GeneralizedTime. (#492)

  • #[derive(asn1::Asn1Read)] and #[derive(asn1::Asn1Write)] now implement "perfect derives". (#496)

Rust Resources

are all listed below.

Resources

listed to get explored on!!

Made with ❤️

to provide different kinds of informations and resources.