> I have a question about BIT_STRINGs because I haven't understood one > thing... > > If I have the following ASN.1 definition: > > MyBitString ::= BIT_STRING { > valueA (0), > valueB (2) } > > What are the correct representation of the BIT_STRING bits correspondent > to valueB? > > a) 01000000 (the lowest bit is at left and the value is the > decimal correspondent value) > b) 00000010 (the lowest bit is at right and the value is the > decimal correspondent value) > c) 00100000 (the lowest bit is at left and the value means that > the correspondent second (2) bit number has value one (1)) > d) 00000100 (the lowest bit is at right and the value means that > the correspondent second (2) bit number has value one (1)) > > I suppose that's the option a) but I don't know If I am right!?
The answer is c. ===================================================================== Conrad Sigona Toll Free : 1-888-OSS-ASN1 OSS Nokalva Voice Mail : 1-732-302-9669 x400 [EMAIL PROTECTED] Fax : 1-419-831-5035 http://www.oss.com My direct line : 1-315-845-1773