i was wondering if anybody knows an existing ISO7816 compliant file system implementation for javacard? I do know that there is no API for this and you have to do it yourself but i was wondering that despite numerous questions about that topic i havent found a single implementation for this problem on the internet. Has anyone done this on a decent level of quality or is everybody just hacking the minimum of what is needed?
-
1From what I've seen its the latter. There was a file system API proposal for Java Card once, but it was sunk. I'm however happy to be proven wrong (and don't call my implementation "minimum" ;) )Maarten Bodewes– Maarten Bodewes2014-11-13 21:29:48 +00:00Commented Nov 13, 2014 at 21:29
-
Do you want sample code using filesystem in Javacard?Hana Bzh– Hana Bzh2014-11-16 11:36:36 +00:00Commented Nov 16, 2014 at 11:36
-
I search for java card code that implements a ISO7816- compliant file system, not exactly sure though, how your question is meantPaul Bastian– Paul Bastian2014-11-16 18:21:02 +00:00Commented Nov 16, 2014 at 18:21
Add a comment
|
1 Answer
You can refer JavaPurseCrypto applet which is a javacard applet to implement electronic card using file system. It's a sample code located in Javacard kit.
More help: this link
3 Comments
Michael Roland
How does this qualify as not "just hacking the minimum of what is needed"?
Hana Bzh
@Micheal I thought Paul needs an implementation of filesystem in Javacard. Am I wrong? If so I'll delete my answer
Paul Bastian
well, just exactly what Michael wrote already. Basically it supports a subset of the A4-Select command.