d4ac17598acdf437a256a3a469ab4ca85597cf84
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields : > If a package is using a nonstandard license, then the license-file field may be specified in lieu of the license > field. `simple_asn1` however uses a standard license (ISC, as per LICENSE). Note that this is also a somewhat commonly used way by many projects (see for example Cargo or serde). Using the machine-readable SPX specifier instead of a text file helps automatic tooling like [cargo-lichking](https://github.com/Nemo157/cargo-lichking) to check licenses of projects and dependencies.
Overview
This is a simple library for parsing DER-encoded data.
In particular, this library automates the process of understanding the DER encoded objects in an ASN.1 data stream. These tokens can then be parsed by your library, based on the ASN.1 description in your format.
For convenience, we create the traits ToASN1 and FromASN to abstract the
ability to decode a type from an ASN.1 token stream. If your type implements one
of these traits, your program or library can then use the convenience functions
der_encode and der_decode to do all the parsing work in one action.
Patches welcome!
Languages
Rust
100%