emboss/krypt — Issue #11: Asn.1 top-level spec
Author: emboss
Created: 2012-01-28 18:20:35+00:00
State: open

Describes the interface based on the documentation, similar to asn1_parser_spec.rb.

Include specs for tagged encodings, test whether they are correctly represented as ASN1Data/ASN1Constructive. Determine to what extent users should be allowed to create ASN1Data, ASN1Constructive and ASN1Primitive from scratch.

Should we also specify lazy parsing behavior? First thought: no, this is an implementation detail and should not be enforced. Try to stay agnostic of it as much as possible.