Forum Stats

  • 3,824,975 Users
  • 2,260,447 Discussions
  • 7,896,367 Comments

Discussions

install new security domain and use it for installing a new applet

872840
872840 Member Posts: 17
edited Jul 5, 2011 12:48AM in Java Card
I have to install a new security domain for installing a new applet.
For example for SD privilege I do following steps:

1.Select ISD
2.Authenticate with ISD keys
3.Install for install command:
a.Package AID: A0 00 00 00 18 10 01 01
b.Applet AID: A0 00 00 00 18 53 44 41
c.Instance AID: A0 00 00 00 06 00 00 00
d.Application Privilege:80
e.Install parameters: 47 02 01 05
4.Select new SD (AID: A0 00 00 00 06 00 00 00)
5.Authenticate with default keys
6.Put key command
7.Authenticate with new keys
Now I have new security domain which is personalized(without DAP or DM privilege). But when I want to use it in install for load, I get the response:6A86
this is my install for load command:
80 E6 02 00 25 0A 01 02 03 04 05 06 07 08 09 00 08 A0 00 00 00 06 00 00 00 00 0E EF 0C C6 02 00 00 C8 02 00 00 C7 02 00 00 00

Do I perform the right things to create and assign a new security domain ?
If the answer is yes then how we can install an applet with this new SD?

Edited by: 869837 on Jul 2, 2011 4:14 AM

Edited by: 869837 on Jul 3, 2011 2:28 AM
Tagged:
This discussion has been closed.