Christmas is coming!

To celebrate the new year and thank for the support from all our dear customers, Christmas promotional activity is being held in JavaCardOS online store.

During the event, you can enjoy many promotional activities - High Discount on JavaCardOS products,Lucky Draw,Double forum Points.

Come to choose your own Christmas gift and try your luck now!

value meaning in UPLOAD command

JavaCard Applet Development Related Questions and Answers.
Gibson
Posts: 12
Joined: Wed Jul 13, 2016 2:18 am
Points: 132
Contact:

value meaning in UPLOAD command

Postby Gibson » Sun Sep 10, 2017 11:25 pm

I have a problem on UPLOAD command. Could anyone help me figure out the meaning of the second APDU command? How is the field value " C4 82 03 81 " calculated?

>> 80 E6 02 00 13 06 73 4D 41 74 ...00 03 00 00 00 00 00 00 00 ...
<< 90 00

>> 80 E8 00 00 FA C4 82 03 81..

Thelogan
Posts: 38
Joined: Thu Aug 20, 2015 4:48 am
Points: 234
Contact:

Re: value meaning in UPLOAD command

Postby Thelogan » Mon Sep 11, 2017 6:21 am

What you see in the second command is the LOAD command, and the first component to be loaded.

The upload command includes two consecutive GlobalPlatform APDU commands: INSTALL [for load] and following multiple LOAD commands. It shall be seen as a fixed sequence. The LOAD command contains parts of the CAP file. The component order is defined in the Java Card Virtual Machine Specification, as well as the CAP structure itself.


Return to “Questions & Answers”

Who is online

Users browsing this forum: No registered users and 2 guests

JavaCard OS : Disclaimer