asn1rs
asn1rs copied to clipboard
Generates Rust Code and optionally compatible Protobuf schema files from ASN.1 definitions.
Should the API surface be drastically reduced to prevent what would be considered breaking changes? Current _a lot_ of types and fns are ```pub``` and thus would not be allowed...
Currently each character string type has its own `read_*`/`write_*` fn which every `Reader`/`Writer` must implement ```rust fn read_utf8string(&mut self) -> Result; fn read_ia5string(&mut self) -> Result; fn read_numeric_string(&mut self) ->...
It now validates tags. It shows that `C::TAG` is wrong sometimes. we need to work on that. `simple_der` now panics with `Got unexpected tag Universal(2) instead of ContextSpecific(0)` error. It...
Currently, `SET OF` serializes the same (for uper) as `SEQUENCE OF`, which reflects the `BASIC-PER` ([ITU-T X.691 | ISO/IEC 8825-2][, 22.2). For `CANONICAL-PER` ([ITU-T X.691 | ISO/IEC 8825-2], 22.1), the...
DER Support
Hi. My project heavily depends on parsing DER encoded data. Your crate is by far the most interesting ASN1 parsers. Is it hard to implement DER for it too? I...
Issue Tracking Issue for tracking the progress of further encoding implementation. Preconditions: * [x] (in progress, clean-up) Refactor to provide better extensibility (see 325c96f and asn1rs::syn) Potential encodings: * [...
``` $ asn1rs protobuf asn/S1AP-Containers.asn Failed to load file asn/S1AP-Containers.asn: Model(At line 44, column 29 an unexpected token was encountered: '{' ``` https://github.com/boundary/wireshark/blob/master/asn1/s1ap/S1AP-Containers.asn#L44