Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

What should I do to access EF?

JavaCard Applet Development Related Questions and Answers.
pitbar
Posts: 22
Joined: Wed Dec 02, 2015 5:39 am
Points :93
Contact:

What should I do to access EF?

Post by pitbar » Mon Dec 21, 2015 4:22 am

I can send APDU command to select MF but I need to access EF. The following is the command I sent:

Code: Select all

ResponseAPDU r = channel.transmit(new CommandAPDU(new byte[] { 0X00,(byte) 0XA4, 0X00, 0X00, 0X02, 0X3F, 0X00 }));


I got

Code: Select all

6F 1C 82 01 38 83 02 3F 00 85 02 03 7F 86 0C 7F 7F 7F 7F 41 60 60 7F 7F 7F 60 00 8A 01 05 90 00


My question is :
What next should I do in order to access EF?

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: What should I do to access EF?

Post by UNKNwYSHSA » Mon Dec 21, 2015 10:44 pm

Parse the response data:

Code: Select all

6F 1C
    82 01 38 (File descriptor byte: DF)
    83 02 3F 00 (File identifier)
    85 02 03 7F (Proprietary information not encoded in BER-TLV)
    86 0C 7F 7F 7F 7F 41 60 60 7F 7F 7F 60 00 (Security attribute in proprietary format)
    8A 01 05 (Life cycle status byte)
90 00


There's no information about EF/DF in the MF.
Or from Security attribute bytes, there are 12 EFs in this MF?

But you can try to select by path, maybe some useful data responsed.
You can try to select "3F 00 00 00" to "3F 00 FF FF". (3F002F00, 3F002F01 are reserved)
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 38 guests

JavaCard OS : Disclaimer