JavaCard Applet Development Related Questions and Answers.
-
Anenl
- Posts: 8
- Joined: Mon Jul 31, 2017 3:22 am
- Points :108
-
Contact:
Post
by Anenl » Fri Sep 15, 2017 2:40 am
I can store 8 bytes of data using store-data. But when I try to retrieve the data, I got the standard data, Is this the expected behavior of the java card? Hope anyone can give me some clues to help me out.
Code: Select all
cm> store-data 9F66081122334455667788
> 80 E2 80 00 0B 9F 66 08 11 22 33 44 55 66 77 88
< 90 00
cm> get-data 0066
> 80 CA 00 66 00
< 66 4C 73 4A 06 07 2A 86 48 86 FC 6B 01 60 0C 06
0A 2A 86 48 86 FC 6B 02 02 01 01 63 09 06 07 2A
86 48 86 FC 6B 03 64 0B 06 09 2A 86 48 86 FC 6B
04 02 15 65 0B 06 09 2B 85 10 86 48 64 02 01 03
66 0C 06 0A 2B 06 01 04 01 2A 02 6E 01 02 90 00
cm> get-data 9F66
> 80 CA 9F 66 00
< 6A 88
-
choimillen
- Posts: 30
- Joined: Wed Aug 19, 2015 2:55 am
- Points :213
-
Contact:
Post
by choimillen » Fri Sep 15, 2017 4:15 am
You cannot use all the Data Grouping Index, 2 byte TLV . Some are already populated and can only be read, others cannot be written. Use the 0070 Data Grouping Index to put your data into the Security Domain's data store.
Users browsing this forum: No registered users and 50 guests
JavaCard OS : Disclaimer
Board Disclaimer
The views and comments posted in these fora are personal and do not necessarily represent the those of the Management of JavaCard OS.
The Management of JavaCard OS does not, under any circumstances whatsoever, accept any responsibility for any advice, or recommentations, made by, or implied by, any member or guest vistor of JavaCard OS that results in any loss whatsoever in any manner to a member of JavaCard OS, or to any other person.
Furthermore, the Management of JavaCard OS is not, and cannot be, responsible for the content of any other Internet site(s) that have been linked to from JavaCard OS.