Is it possible to ASN1 decode a string with a custom ASN1 specification in flutter/dart?

146 Views Asked by At

I have a custom ASN1 specification as a .asn file that defines a complex data structure. What I essentially want to do is, to decode strings that have been encoded with this specification to a data structure that i can then use within my flutter application. I am currently building a Linux desktop app.

I already succeeded in doing this with python, as there is the asn1tools library which makes it easy to compile these .asn specifications and then use the output of that compiler to decode said strings. I havent found anything similar though other than the asn1lib for flutter. But in there I cannot really find anything that makes it possible to just throw in an asn1 file, get some kind of parser out if it and then decode strings with this parser.

Is it even possible to do this within flutter itself?

Would be nice if someone could help.

0

There are 0 best solutions below