Announce two new product: SmartCard Reader Rockey200 and USB2.0 Extension Cable

ROCKEY 200 is a handy and portable USB Smart Card reader that can perform read/write operations on any ISO 7816-1/2/3/4 smart cards which are compatible with protocol T=0 and T=1.

USB2.0 Extension Cable With high speed USB 2.0 devices such as USB token ,USB Card Reader and so on.

Come to try it now!

value meaning in UPLOAD command

JavaCard Applet Development Related Questions and Answers.
Gibson
Posts: 15
Joined: Wed Jul 13, 2016 2:18 am
Points: 162
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 3 guests

JavaCard OS : Disclaimer