I have a question about the Indefinite length encoding. From Sections 8.1.3 and 8.1.5 of the ITU-T X.690 specification, I understand that WHENEVER the length is given as indefinite length (value 0x80), then the corresponding contents HAVE to end with the end-of-contents octets (2 octets of value 0 each). Is there any exception to this rule ? More specifically, if the type whose encoding has the length as indefinite length is the last field within a structure whose encoding has a fixed length encoding, do the end-of-contents octets still need to be given ? Or do the encoding rules allow for no such exceptions ?
There are no exceptions. A 0000 must be used to terminate the indefinite length encoded value.
===================================================================== Conrad Sigona Voice Mail : 1-732-302-9669 x400 OSS Nokalva Fax : 1-419-831-5035 [EMAIL PROTECTED] My direct line : 1-315-845-1773 _______________________________________________ ASN1 mailing list [EMAIL PROTECTED] http://lists.asn1.org/mailman/listinfo/asn1
