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!

How can I personalize an SSD with AM privilege?

masamichi gotohOct 9 2025

Hi All.

I am using the javacard simulator v25.
What I want to do is install a Supplementary Security Domain (SSD) and load an applet from this SSD.
(Eventually, I want to use CLFDB, but since ISD does not have CLFDB privilege, loading from ISD is insufficient.)
Currently, I have installed an SSD with the Authorized Management privilege and successfully performed a PUT KEY operation for the SCP keys. (I have not yet set the CLFDB privilege.)
Upon checking the SSD's state, it remained selectable, not personalized.
Is there any information available on what operations are required to set an SSD with the Authorized Management privilege to the personalized state?

Below is a rough outline of the command/response APDUs.

Sincerely yours.

// select ISD,SCP03
// install[for install]
>> 84 E6 04 00 2C 07 A0 00 00 01 51 53 50 08 A0 00 00 01 51 53 50 41 0A A0 00 00 01 51 53 50 41 00 02 03 80 40 00 02 C9 00 00 E7 4F B9 AC A1 85 E1 1B
<< 00 90 00
// install[for make selectable]
>> 84 E6 08 00 1B 00 00 0A A0 00 00 01 51 53 50 41 00 02 03 80 40 00 00 00 6E 5A FA 18 97 94 FD 03
<< 00 90 00

// select SSD,SCP03
// put SCP03 keys
>> 84 D8 00 81 4E 30 88 11 10 18 3D 55 F9 F9 71 B6 EA 6C DD C8 03 6D DF 00 17 03 50 4A 77 88 11 10 18 3D 55 F9 F9 71 B6 EA 6C DD C8 03 6D DF 00 17 03 50 4A 77 88 11 10 18 3D 55 F9 F9 71 B6 EA 6C DD C8 03 6D DF 00 17 03 50 4A 77 CF AF 0D 15 C3 CE 35 C3
<< 30 50 4A 77 50 4A 77 50 4A 77 90 00
// get application/ssd status
>> 84 F2 40 02 0A 4F 00 DC 9F F7 B1 30 E1 74 17
<< E3 15 4F 0A A0 00 00 01 51 53 50 41 00 02 9F 70 01 07 C5 03 80 40 00 90 00

GET STATUS response:
   T:E3 L:15
       T:4F L:0A V:A0 00 00 01 51 53 50 41 00 02
       T:9F 70 L:01 V:07
       T:C5 L:03 V:80 40 00
This post has been answered by Gabriel Serban-Oracle on Oct 10 2025
Jump to Answer
Comments
Post Details
Added on Oct 9 2025
9 comments
94 views