JavaCard Applet Development Related Questions and Answers.
-
deepanshsinghal
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
-
Contact:
Post
by deepanshsinghal » Fri Jun 02, 2017 2:12 am
UNKNwYSHSA wrote:00000000103E45556BE812C4422518A81A556ACEE8;
Used those commands
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Fri Jun 02, 2017 2:16 am
deepanshsinghal wrote:UNKNwYSHSA wrote:00000000103E45556BE812C4422518A81A556ACEE8;
Used those commands
Yes.
Code: Select all
// Set key: 3E45556BE812C4422518A81A556ACEE8;
00000000103E45556BE812C4422518A81A556ACEE8;
// Generate AC with data: 00000000031400000000000003560420008000035616080200549E74AD22000000000000000000003F000210000001;
000100002F00000000031400000000000003560420008000035616080200549E74AD22000000000000000000003F000210000001;
sense and simplicity
-
deepanshsinghal
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
-
Contact:
Post
by deepanshsinghal » Fri Jun 02, 2017 2:18 am
UNKNwYSHSA wrote:deepanshsinghal wrote:UNKNwYSHSA wrote:00000000103E45556BE812C4422518A81A556ACEE8;
Used those commands
Yes.
Code: Select all
// Set key: 3E45556BE812C4422518A81A556ACEE8;
00000000103E45556BE812C4422518A81A556ACEE8;
// Generate AC with data: 00000000031400000000000003560420008000035616080200549E74AD22000000000000000000003F000210000001;
000100002F00000000031400000000000003560420008000035616080200549E74AD22000000000000000000003F000210000001;
Code: Select all
>> /select 112233445500
>> 00 A4 04 00 06 11 22 33 44 55 00 00
<< 90 00
>> /send 00000000103E45556BE812C4422518A81A556ACEE8
>> 00 00 00 00 10 3E 45 55 6B E8 12 C4 42 25 18 A8 1A 55 6A CE E8
<< 90 00
>> /send 000100002F00000000031400000000000003560420008000035616080200549E74AD22000000000000000000003F000210000001
>> 00 01 00 00 2F 00 00 00 00 03 14 00 00 00 00 00 00 03 56 04 20 00 80 00 03 56 16 08 02 00 54 9E 74 AD 22 00 00 00 00 00 00 00 00 00 00 3F 00 02 10 00 00 01
<< 38 1E EE C6 76 4E 5D D8 90 00
As you can see output is way different from your output
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Fri Jun 02, 2017 2:23 am
Which simulator are you using?
sense and simplicity
-
deepanshsinghal
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
-
Contact:
Post
by deepanshsinghal » Fri Jun 02, 2017 2:29 am
UNKNwYSHSA wrote:Which simulator are you using?
"Simulator:Default" i am using
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Fri Jun 02, 2017 2:34 am
What the version of your
JCIDE?
This is mine:
You do not have the required permissions to view the files attached to this post. Please
login first.
sense and simplicity
-
deepanshsinghal
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
-
Contact:
Post
by deepanshsinghal » Fri Jun 02, 2017 2:45 am
UNKNwYSHSA wrote:What the version of your
JCIDE?
This is mine:
You do not have the required permissions to view the files attached to this post. Please
login first.
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Fri Jun 02, 2017 2:54 am
What's happened!?
sense and simplicity
-
deepanshsinghal
- Posts: 44
- Joined: Thu Apr 06, 2017 8:01 am
- Points :460
-
Contact:
Post
by deepanshsinghal » Fri Jun 02, 2017 2:55 am
UNKNwYSHSA wrote:What's happened!?
Same response
Don't know what the problem
That's my JC_Version:
But i tested with all the JC_versions output is same
Share me yours
You do not have the required permissions to view the files attached to this post. Please
login first.
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Fri Jun 02, 2017 2:58 am
deepanshsinghal wrote:UNKNwYSHSA wrote:What the version of your
JCIDE?
This is mine:
Are you using protocol T=0?
There's wrong with my applet source code.
The code for INS 0x00 shall be:
Code: Select all
case (byte) 0x00:
apdu.setIncomingAndReceive();
key.setKey(buf, ISO7816.OFFSET_CDATA);
break;
And all will be OK.
sense and simplicity
Users browsing this forum: No registered users and 32 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.