4 releases
0.1.3 | Sep 15, 2020 |
---|---|
0.1.2 | May 11, 2020 |
0.1.1 | May 5, 2020 |
0.1.0 | May 2, 2020 |
#1146 in Encoding
25 downloads per month
43KB
1K
SLoC
BASN1 -- Binary ASN.1 encoder & decoder
A binary ASN.1 encode and decoder in rust, working with no_std
lib.rs
:
ASN.1 binary encoder and decoder (DER, possibly BER/CER in future)
The general principle of this crate is to avoid transforming information or re-allocating information. this should be compatible with no_std.
In decoding, the user remain in control of the data allocation and instead the parser give typed view into this data allocation with the data verified for correctness.
For example, when reading an integer from the stream, a typed slice IntegerSlice
of the stream
is given back that the parser guaranteed to be correct, and that the user can keep as is.