Hi,
 
My question is about indefinite form of encoding in BER.
 
I believe the TLV = (0x00 0x00) form a regular acceptable TLV, and can also serve as a termination-indicator in case of indefinite encoding. Consider the example:-
 
( T1  L1  (T2 L2 V2) (T3 L3 V3) (00 00) (00 00) ) (T4 L4 V4)
                                                                                      ^
( T1  L1  (T2 L2 V2) (T3 L3 V3) (00 00) )  (00 00)  (T4 L4 V4)
                                                                        ^
where L1 = 0x80.
 
Which one of the above two cases is legal ?
 

thanks & regards,
Banibrata Dutta
  Hewlett-Packard ISO Pvt. Ltd,
  29, Cunningham Road,
  Bangalore - 560052, India.

  Tel: +91-80-22051796
 

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

Reply via email to