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.

files in eJava Token

Card Products

Moderator: horse dream

Crawford
Posts: 39
Joined: Thu Sep 17, 2015 11:50 pm
Points :246
Contact:

files in eJava Token

Post by Crawford » Fri Nov 27, 2015 2:55 am

I have installed two applets into eJava Token. I use pyApdutool to list the APPLET-AID, as follow,



Here are my questions:
- Where are the two applets in the eJava Token? in MF or DF?
- Is there any way to see the AID of MF and all the other EFs and DFs of eJava Token?
- How I can create a DF?

Any help would be appreciated!
You do not have the required permissions to view the files attached to this post. Please login first.

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

Re: files in eJava Token

Post by mabel » Mon Nov 30, 2015 2:31 am

To the best of my knowledge, the files in eJava Token should be the same as java card. If I am right, the answers to your questions should be:

A1: Consider each Java Card application to be a DF directly below the MF. Though, be aware that Java Cards only make use of parts of the ISO 7816-4 file system concept and that the MF itself is not necessarily selectable by default.

A2: From an API perspective, only DF names can be AIDs. Consider AIDs to be DF names that comply to a specific format. MF and EF have file IDs. However, as there is no file system concept on Java Cards, there are no addressable MF, EFs by default. So the only listable components that are on a Java Card are applets and applet packages.

A3: You can create a DF by installing (and making selectable) an applet.

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

Re: files in eJava Token

Post by UNKNwYSHSA » Mon Nov 30, 2015 11:28 pm

You can understand that the JCVM manage the applications itself, has no DF and EF concept.
If your applet has data manage as file system, you can emulate the file system.
The eJava Token card manager gives you the functions to list/create/delete applications with each command: GET STATUS/INSTALL for [LOAD/INSTALL/SELECTABLE]/DELETE.

And you can understand that one applet as one DF, If your applet has datas, you can store these datas in EFs.
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 25 guests

JavaCard OS : Disclaimer