JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
DESFire application
DESFire application
Hello everybody,
Our team need to develop an applet on NXP J3D081 card and call the DESFire application within another applet in Java card.
That is to say we program the card by contactless interface (create application with AID XXXXXX) and install the applet with AID YYYYYY on Java card. Then we want to call the “XXXXXX” from inside the "YYYYYY" and use the benefits of the DESFire files “value file”, "record file".
Does anybody work on this? If anyone can send me one sample code, I will be much appreciated.
Our team need to develop an applet on NXP J3D081 card and call the DESFire application within another applet in Java card.
That is to say we program the card by contactless interface (create application with AID XXXXXX) and install the applet with AID YYYYYY on Java card. Then we want to call the “XXXXXX” from inside the "YYYYYY" and use the benefits of the DESFire files “value file”, "record file".
Does anybody work on this? If anyone can send me one sample code, I will be much appreciated.
Re: DESFire application
The sample applet is attached to this post.
The following are some basic instructions and responses.
The following are some basic instructions and responses.
Code: Select all
// Authenticate(keyNo), keyNo = 0x00;
Send: 00 00 00 00 02 0A 00 00
Recv: AF 15 B3 CB B7 CA DC 6D E5 90 00
// GetKeySettings(),
Send: 00 00 00 00 01 45 00
// 0x00 + key settings: 0x0F + max No of keys: 0x01;
Recv: 00 0F 01 90 00
// GetKeyVersion(KeyNo), keyNo = 0x00;
Send: 00 00 00 00 02 64 00 00
Recv: 00 00 90 00
// GetApplicationIDs()
Send: 00 00 00 00 01 6A 00
// 00 + AID (2F 01 F4);
Recv: 00 2F 01 F4 90 00
// SelectApplication(AID), AID: 2F 01 F4;
Send: 00 00 00 00 04 5A 2F 01 F4 00
Recv: 00 90 00
// GetVersion;
Send: 00 00 00 00 01 60 00
// 0xAF + Vend or ID (04) + type (0x81) + sub type(0x01) + ...;
Recv: AF 04 81 01 01 00 1A 05 90 00
You do not have the required permissions to view the files attached to this post. Please login first.
Re: DESFire application
Much appreciated, mabel.
Thank you for your detailed answer. I will have a try.
Thank you for your detailed answer. I will have a try.
Who is online
Users browsing this forum: Google [Bot] and 34 guests