files in eJava Token
Moderator: horse dream
files in eJava Token
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!
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.
Re: files in eJava Token
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.
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.
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3053
- Contact:
Re: files in eJava Token
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.
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
Who is online
Users browsing this forum: No registered users and 32 guests