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.

How can I select and read EF and DF data?

JavaCard Applet Development Related Questions and Answers.
Wardor
Posts: 18
Joined: Tue Nov 10, 2015 4:51 am
Points :114
Contact:

How can I select and read EF and DF data?

Post by Wardor » Fri Dec 18, 2015 3:01 am

I would like to create EF and DF with some data and store it in smart card.
Then I would write an applet to read these data. Is it possible? If I can do this, how can I select and read EF and DF data?

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :138
Contact:

Re: How can I select and read EF and DF data?

Post by horse dream » Mon Dec 21, 2015 1:22 am

You have to implement a proprietary version of CREATE FILE and the ISO versions of READ BINARY and UPDATE BINARY yourself.

Usually the files consist of an (object containing a) Java Card byte array in EEPROM (just new byte[size]) for the file and meta information - maybe also in a byte[]) such as read/write access conditions.

A DF may consist of EF's, objects such as keys, PIN's, access conditions. The applet itself is a named DF, but you can create a specific CREATE FILE for creating DF's. You would of course have to support the DF selection as well within SELECT by ID.

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

Re: How can I select and read EF and DF data?

Post by UNKNwYSHSA » Mon Dec 21, 2015 4:18 am

You can look specification ISO7816-4 for more details.
Select DF/EF: the SELECT command;
Read/Write EF: READ BINARY/WRITE/UPDATE BINARY command.
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Bing [Bot] and 45 guests

JavaCard OS : Disclaimer