On Wed, Dec 10, 2008 at 8:57 PM, Umut Emin <[EMAIL PROTECTED]> wrote:
> Hello List,
>
> This is more a "X.690 standards" question.
>
> Debussion's book indicate on page 394 that the
> byte ordering of BER encoded multi-byte(int etc.) data is
> of big-endian type. I wanted to have a look where this is
> said in the X.690 standards, but odd as it is,
> i can't find any single sentence on endianness.
>
> Now how does the book comes to conclusion then?
> If I have missed it during my searches, which
> clause exactly tell the most significant octet comes
> the first and the subsequent follow? Or is it
> a common choice of implementation?

For encoding of an integer, have a look at clause 8.3.3:
The contents octets shall be a two's complement binary number equal to
the integer value, and consisting of
bits 8 to 1 of the first octet, followed by bits 8 to 1 of the second
octet, followed by bits 8 to 1 of each octet in turn up to
and including the last octet of the contents octets.
_______________________________________________
Asn1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to