JavaCard Applet Development Related Questions and Answers.
-
bushKape
- Posts: 13
- Joined: Sat May 21, 2016 11:32 am
- Points :194
-
Contact:
Post
by bushKape » Thu Jun 30, 2016 1:27 pm
when installing the applet on the card with the privilege "security domain" an error
Code: Select all
Install Applet error: Install Applet failed. Send: 80 E6 0C 00 1D 06 D1 D2 D3 D4 D5 01 07 D1 D2 D3 D4 D5 01 01 07 D1 D2 D3 D4 D5 01 01 01 9E 02 C9 00 00 00, Recv: 69 85.
how to fix it and with what it is connected?
Thanks in advance for any help
I have a card nxp j2a
-
mabel
- Posts: 237
- Joined: Mon May 18, 2015 3:09 am
- Points :1705
-
Contact:
Post
by mabel » Fri Jul 01, 2016 2:32 am
This issue may be due to the wrong package AID and applet AID.
Here are two segments quoted from
Mapping Guidelines of Existing GP v2.1.1 Implementation on v2.2.1, which can help you out.
Part - 6.6.2.3 INSTALL [for install and make selectable] -> Application PrivilegesFor an implementation supporting Supplementary Security Domains, this privilege indicates that
the Application being installed is a Security Domain and Applications associated to this
Supplementary Security Domain may use its Secure Channel services. If the above Executable
Load File AID does not match the AID for the installable Security Domains code defined in
section 3, a response of '6985' is returned.
Part - 3.1 OPENFor implementations supporting Supplementary Security Domains, the AID for the installable Security
Domain Executable Load File (package) within the GlobalPlatform Registry is 'A0 00 00 01 51 53 50' and
the Executable Module AID (applet) within the GlobalPlatform Registry is 'A0 00 00 01 51 53 50 41'. The
Issuer Security Domain is this Executable Load File’s associated Security Domain.
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Fri Jul 01, 2016 3:54 am
It seems that we cann't create our own applet and install as security domain.
sense and simplicity
-
bushKape
- Posts: 13
- Joined: Sat May 21, 2016 11:32 am
- Points :194
-
Contact:
Post
by bushKape » Fri Jul 01, 2016 10:35 am
mabel wrote:This issue may be due to the wrong package AID and applet AID.
Here are two segments quoted from
Mapping Guidelines of Existing GP v2.1.1 Implementation on v2.2.1, which can help you out.
Part - 6.6.2.3 INSTALL [for install and make selectable] -> Application PrivilegesFor an implementation supporting Supplementary Security Domains, this privilege indicates that
the Application being installed is a Security Domain and Applications associated to this
Supplementary Security Domain may use its Secure Channel services. If the above Executable
Load File AID does not match the AID for the installable Security Domains code defined in
section 3, a response of '6985' is returned.
Part - 3.1 OPENFor implementations supporting Supplementary Security Domains, the AID for the installable Security
Domain Executable Load File (package) within the GlobalPlatform Registry is 'A0 00 00 01 51 53 50' and
the Executable Module AID (applet) within the GlobalPlatform Registry is 'A0 00 00 01 51 53 50 41'. The
Issuer Security Domain is this Executable Load File’s associated Security Domain.
when you change AID the error still repeats
Thanks for helping
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Fri Jul 01, 2016 10:40 pm
Ask your card provider what is the Supplementary Security Domain's package AID and applet AID, and you can create one Supplementary Security Domain by its installation.
Your own applet can not be installed as Security Domain.
So far as i know.
For example, the card JCOP V2.4.2R2:
AID of Executable Load File is:
A0000001515350h
• AID of Module is:
A000000151535041h
The Module can be used to instantiate an SSD.
Note: From JCOP V2.4.2R2 User Manual.
sense and simplicity
Users browsing this forum: No registered users and 72 guests
JavaCard OS : Disclaimer
Board Disclaimer
The views and comments posted in these fora are personal and do not necessarily represent the those of the Management of JavaCard OS.
The Management of JavaCard OS does not, under any circumstances whatsoever, accept any responsibility for any advice, or recommentations, made by, or implied by, any member or guest vistor of JavaCard OS that results in any loss whatsoever in any manner to a member of JavaCard OS, or to any other person.
Furthermore, the Management of JavaCard OS is not, and cannot be, responsible for the content of any other Internet site(s) that have been linked to from JavaCard OS.