JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

Commands to retrieve packages

JCIDE related questions and answers.

Moderators: product, kuafu

vicoandrej
Posts: 11
Joined: Thu Dec 30, 2021 5:18 am
Points :158
Contact:

Commands to retrieve packages

Post by vicoandrej » Sun Apr 16, 2023 9:20 am

I'm trying to use JCIDE tool with card emulator. I tried to execute simple `package refresh command`:
Image

After button was pressed several commands was executed. Why so many commands are needed for simple operation?

Trying to understand commands with help of request and
answer manuals:

Code: Select all

<<00 A4 04 00 00
Select file. Why it is needed and which file it tries to select?

Code: Select all

>>6F 5C 84 08 A0 00 00 00 03 00 00 00 A5 50 73 4A 06 07 2A 86 48 86 FC 6B 01 60 0C 06 0A 2A 86 48 86 FC 6B 02 02 01 01 63 09 06 07 2A 86 48 86 FC 6B 03 64 0B 06 09 2A 86 48 86 FC 6B 04 02 15 65 0B 06 09 2B 85 10 86 48 64 02 01 03 66 0C 06 0A 2B 06 01 04 01 2A 02 6E 01 02 9F 65 01 FF 90 00
`6F 5C` - Instruction class not supported
How to parse rest of data?


Code: Select all

<<80 50 00 00 08 D2 34 57 B7 E8 F3 33 61 1C
INITIALIZE UPDATE (80 50 xx xx 08 Host challenge) How to parse `D2 34 57 B7 E8 F3 33 61 1C` data?

Code: Select all

>>00 00 00 00 00 00 00 00 00 00 FF 02 00 07 2E CC EB B6 BA 1F 84 59 03 27 5D D3 C1 14 90 00
What does answer means and how to parse data?


Code: Select all

<<84 82 00 00 10 2F 00 71 AB B8 90 EE DD 65 AC FC C8 43 D7 50 ED
`84 82 00 00 10` Means EXTERNAL AUTHENTICATE. Host cryptogram and MAC.
What does `2F 00 71 AB B8 90 EE DD 65 AC FC C8 43 D7 50 ED` data is about?

Code: Select all

>>90 00
Ok

Code: Select all

<<80 F2 20 00 02 4F 00
`80 F2 20 00 02` - GET STATUS.
what does `4F 00` means?

Code: Select all

>>09 50 4B 49 44 50 50 4C 45 54 01 00 90 00
`09` - length
`50 4B 49 44 50 50 4C 45 54` - Package ID
What does `01 00 90 00` means?

Who is online

Users browsing this forum: No registered users and 16 guests

JavaCard OS : Disclaimer