My question is simple: is there any existing opensource JavaCard applet emulating the functionality of Mifare DESFireEV1?
(the API would have to be a little modified, of course, Select Application 112233 would be for example 80 5A 00 00 03 33 22 11 00 instead of native DESFire command 5A 33 22 11 etc.)
I found just one attempt emulating common Mifare DESFire, but it seems to be unfinished and it contains some serious problems (variables in EEPROM instead of RAM, calling "new byte[]" in loops ...) https://code.google.com/p/java-card-desfire-emulation/source/browse/trunk/java-card-desfire-emulation/Desfire/src/des/DesfireCard.java?r=14