Hi,

About 10-11 months back I'd posted the question regarding BER encoding of 
OID's, and now I am back, since some doubts are.

How do I decode the following octet string, using the explanation of the 
encoding rules as specified in X.690.

06 0c 2a 86 3a 00 89 61 33 01 00 01 00 01

I'll write here, how far I manage to do it...
 
Tag = 0x06
Length = 0xc (12), count of folliowing value octets
Value = { 
2a = 1.2.
86 = 6.
3a = 58.
00 = 0.
89 = (10001001)2 ??? (I thought that the MSbit could be one, only for the 
terminal octet!!)
61 = (01100001)2 ? (.. so is this octet related to the previous one, the one 
above in this list ? if so, how ?)
33 = 51. ??
01 = 1. ??
00 = 0. ??
01 = 1. ??
00 = 0. ??
01 = 1. ??
}
 
I think this list doesn't permit HTML formatting, which is sad, because I'd 
colour coded the text to explain the issue in more clear terms. To me the 
problem is in the octet's with value 89 onwards... since it has the MSBit set. 
According to the explanation in X.690 & Olivier Dubuisson's books, the MSBit = 
1, would occur only once ??? (Or, that's what I understood).
 
Thanks for clarifying this issue.
 
regards,
Banibrata Dutta
Hewlett-Packard | > [EMAIL PROTECTED] | Å +91 80 22051796 | ü GMT +5.5
 
 

Attachment: Blank Bkgrd.gif
Description: Blank Bkgrd.gif

_______________________________________________
Asn1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to