ASN.1 encoder and decoder for Dart, using BER encoding
open sourceBSD-2-Clausefree
asn1lib is Warren Strange's Dart library for encoding and decoding ASN.1 with BER: you build ASN.1 objects (sequences, integers, octet strings, booleans and the rest) and get their bytes, or parse bytes back into objects, optionally in a relaxed mode that returns a generic object for structures it doesn't support instead of throwing.
Problems it solves
- parse ASN.1 data in a Dart or Flutter app
- encode a key or certificate structure as ASN.1 BER bytes in Dart
- decode BER-encoded bytes into objects in Dart
Features
- encode ASN.1 objects to BER bytes
- parse BER bytes into ASN.1 objects
- relaxed parsing for unsupported structures
Alternatives
The same job
These do what asn1lib does.
- convert (Dart) Encoders and decoders for converting between data representations in Dart
