Announce two new product: SmartCard Reader Rockey200 and USB2.0 Extension Cable

ROCKEY 200 is a handy and portable USB Smart Card reader that can perform read/write operations on any ISO 7816-1/2/3/4 smart cards which are compatible with protocol T=0 and T=1.

USB2.0 Extension Cable With high speed USB 2.0 devices such as USB token ,USB Card Reader and so on.

Come to try it now!

parse nested TLV structure

Communication

Moderator: UNKNwYSHSA

lefibr
Posts: 16
Joined: Thu Feb 18, 2016 2:38 am
Points: 151
Contact:

parse nested TLV structure

Postby lefibr » Tue Mar 01, 2016 3:33 am

I need to parse nested TLV structure. Is there anyone that know how to parse nested TLV?

lefibr
Posts: 16
Joined: Thu Feb 18, 2016 2:38 am
Points: 151
Contact:

Re: parse nested TLV structure

Postby lefibr » Wed Mar 09, 2016 2:26 am

Is there anybody know this? Pls help.

User avatar
mabel
Posts: 219
Joined: Mon May 18, 2015 3:09 am
Points: 1517
Contact:

Re: parse nested TLV structure

Postby mabel » Wed Mar 09, 2016 2:29 am

If your parsed tag has bit 5 set (0x20) the tag is constructed, call your parsing routine recursively on the tag contents.
If tag has bit 5 clear, then contents is raw data.

And also maybe this link is helpful to you.
https://github.com/a2800276/tlv/blob/ma ... /parser.rb


Return to “Communication”

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer