Chamira Perera wrote:
Hi:
In UNALIGNED PER, when encoding an open type, say as part as an
extension addition to a sequence type, should the encoding of the length
determinant start at an octet boundary? Or should it start at any
location?
The length determinant should start without regard to octet alignment.
The only thing which is octet aligned in case od UNALIGNED PER is the
number of bits in the field list of the type to be encoded.
For example, if we normally encode some type in 3 bits, then, in
case of an open type encoding, we shall construct a sequence
of
a. The encoding of the length determinant for "n", where n=1
b. 3 bits of meaningful content
c. 5 bits of padding
Without any octet alignment.
--
Lev Walkin
[EMAIL PROTECTED]
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1