asn1rs icon indicating copy to clipboard operation
asn1rs copied to clipboard

Global and hierarchical state

Open masihyeganeh opened this issue 4 years ago • 5 comments

I love this rustic implementation of parser using TryFrom but it needs a global state e.g. to support IMPLICIT/EXPLICIT/AUTOMATIC TAGS that will affect all sub structures

masihyeganeh avatar Jun 19 '21 06:06 masihyeganeh

Can you link and/or explain what the differences is between IMPLICIT/EXPLICIT/AUTOMATIC TAGS is? With uPER this didn't really matter until now

kellerkindt avatar Jul 07 '21 09:07 kellerkindt

Yeah, as I said before, there is a good post in let's encrypt for that: https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/#explicit-vs-implicit

masihyeganeh avatar Jul 07 '21 11:07 masihyeganeh

Hey @kellerkindt, Could you find spare time to look at this?

masihyeganeh avatar Aug 07 '21 20:08 masihyeganeh

TBH, I did not. I don't have a lot of time left over to work on this at the moment. But I want to at some point - maybe at or until Christmas I will have some spare time for this.

Regarding the state tracking and from what I have seen while glossing over the linked article, wouldn't it fit better in the Model type with an additional field?

kellerkindt avatar Sep 07 '21 11:09 kellerkindt

Cross referencing with #34 and #10

kellerkindt avatar Sep 27 '21 11:09 kellerkindt