I'm not sure if I should use a NULL when SEQUENCE OF or SET OF
contains zero types. From X.680 [1]: "Use a null type to indicate the
effective absence of a component of a sequence." From the cited, I
believe I should. So a sequence of zero types should be encoded as:
0x30, 0x02, 0x05, 0x00
or
0x30, 0x81, 0x02, 0x05, 0x00
Can anyone clarify this for me or point out my mistake?
Thanks,
Jeff
Jeffrey Walton
[1] X.680, Section E.2.9, http://www.itu.int/ITU-T/studygroups/com17/languages/X.680-0207.pdf
wrong mailing list, try as...@asn1.org
On Apr 16, 4:47 am, Norbert van Bolhuis
<_n_v_bolhuis_NOS...@aimvalley.nl> wrote:
> Jeffrey Walton wrote:
> > Hi All,
>
> > I'm not sure if I should use a NULL when SEQUENCE OF or SET OF
> > contains zero types...
> > [SNIP]
>
> wrong mailing list, try a...@asn1.org- Hide quoted text -
>
>
My apologizes. Thanks for the list.
Jeff