Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

globalpaltform LOAD command DATA FIELD

843851Mar 10 2005 — edited Dec 29 2005
Hi, im building my globalpaltform installer, i got the mutual authentication stuff working, and now i am submitting the LOAD commands to the card but i can't figure out how to build the data field, i thought after the C4 tag i could just paste the cap file but it does not work.
It all goes fine till the first load command, then i get 6F 00.

Do i have to encode some way the cap file prior to sending it?

Is there something that i have to send before the cap file in the LOAD command?



Here is a dump of the communication:

// Initialize update
Sent: 80 50 00 00 08 01 02 03 04 05 06 07 08 00
Received: 00 00 50 20 00 00 00 05 00 00 FF 01 64 BC F1 99
34 42 1F 34 2C 0D EE EA 3B 87 CA C1 90 00

// External Auth
Sent: 84 82 00 00 10 8F 1D A3 FF 99 BF 7A 54 4A B6 4F 04 7A
D9 C3 7C
Received: 90 00

// Install for load
Sent: 80 E6 02 00 17 0A A0 00 00 00 62 03 01 0C 07 01 08 A0 00
00 00 03 00 00 00 00 00 00 00
Received: 00 90 00

// Load
Sent: 80 E8 00 00 E6 C4 50 4B 03 04 0A 00 00 00 00 00 DA A5
E6 2E 8E 5C 65 6D 16 00 00 00 16 00 00 00 18 00 00 00 6A 6F 64 73
2F 6A 61 76 61 63 61 72 64 2F 48 65 61 64 65 72 2E 63 61 70 01 00
13 DE CA FF ED 01 02 04 00 01 09 06 06 06 06 06 06 03 03 03 50
4B 03 04 0A 00 00 00 00 00 DA A5 E6 2E CE 2E 49 D0 22 00 00 00
22 00 00 00 1B 00 00 00 6A 6F 64 73 2F 6A 61 76 61 63 61 72 64 2F
44 69 72 65 63 74 6F 72 79 2E 63 61 70 02 00 1F 00 13 00 1F 00 0E
00 15 04 46 01 A0 1A EC 00 0A 03 70 00 00 0E CA 00 00 00 00 00 00 02
01 00 50 4B 03 04 0A 00 00 00 00 00 DA A5 E6 2E 3A C6 E1 55 11 00 00
00 11 00 00 00 18 00 00 00 6A 6F 64 73 2F 6A 61 76 61 63 61 72 64 2F 41
70 70 6C 65 74 2E 63 61 70 03 00 0E 01 0A 06 06 06 00
Received: 6F 00

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 26 2006
Added on Mar 10 2005
12 comments
408 views