reset password
Author Message
Honglin Xia
Posts: 9
Posted 20:56 Jun 07, 2011 |

Dr. Guo,

HW2-Q7 I could not understand how the length is calculated.

See below example, why the inner sequence length is 16, not 16+6= 22?

(According to our slide p9-43, seems suggest that we should add  the tag and length of the Integer, String and Counter what are 6 bytes, since these are also data for the 2nd sequence in this example)

Please help,

Thank you.

 

30 43 30 16 02 04 00 00 2A 4B 04 08 'C' 'O' 'M' 'P' 'U' 'T' 'E' 'R'   41 04 00 00 01 59     

hpguo
Posts: 139
Posted 09:24 Jun 08, 2011 |

02 04 00 00 2A 4B 04 08 'C' 'O' 'M' 'P' 'U' 'T' 'E' 'R'   41 04 00 00 01 59 

 

They are 22 bytes in total.