emboss/krypt — Issue #12: Support auto-addition of EOC for infinite length encodings?
Author: emboss
Created: 2012-01-28 18:24:33+00:00
State: open
Labels: feature

Idea: It would be possible to check while encoding infinite length values whether an END_OF_CONTENTS was added properly or not. In case it is missing, we could automatically add it.

Pro: Less typing, less opportunity for failure
Con: I'd like to add this sort of convenience features to ASN1::Template, ASN1 itself should stay as puristic as possible.

Todo: Discuss.

(/cc @nahi)