rusticata / asn1-rs

Parsers/Encoders for ASN.1 BER/DER data
Apache License 2.0
9 stars 14 forks source link

Add a pretty-printer for `Any` #25

Open chifflier opened 1 year ago

chifflier commented 1 year ago

Add a pretty-printer (like PrettyBer in der-parser) for Any.

This is already implemented as an example, dump-der.rs.

If a pretty-printer is embedded, it will either be simpler than the example (will not decode OID etc.), or should be moved to another crate to avoid cyclic dependencies