Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

What's the command used to do in WalletDemoApplet?

JavaCard Applet Development Related Questions and Answers.
whitexiao
Posts: 20
Joined: Wed Sep 09, 2015 8:45 am
Points :128
Contact:

What's the command used to do in WalletDemoApplet?

Post by whitexiao » Mon Oct 03, 2016 11:47 pm

I found an applet called WalletDemoApplet in JCKit.
On the code line L159, there is a command "00 84 00 00 08" in case statement.
What's this command used to do? When will we use this command?
Can anyone one help me? Thanks

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: What's the command used to do in WalletDemoApplet?

Post by UNKNwYSHSA » Tue Oct 04, 2016 12:19 am

whitexiao wrote:I found an applet called WalletDemoApplet in JCKit.
On the code line L159, there is a command "00 84 00 00 08" in case statement.
What's this command used to do? When will we use this command?
Can anyone one help me? Thanks

Get 8 random bytes as challange? For external authentication.
sense and simplicity

User avatar
Tolice
Posts: 40
Joined: Wed May 20, 2015 2:41 am
Points :254
Contact:

Re: What's the command used to do in WalletDemoApplet?

Post by Tolice » Tue Oct 04, 2016 6:44 am

Card uses this command to generate a random number and tranimit it to the outside card. The outside card application will generate a string of ciphertext using this random number and the agreed algorithm and then transmit it to the card when executing the next command "80 82 00 00 Lc + Cipher". Card will compare this ciphertext with the ciphertext generated in card. If same, it indicates that the outside card application is safe and reliable. That is external authentication process.

whitexiao
Posts: 20
Joined: Wed Sep 09, 2015 8:45 am
Points :128
Contact:

Re: What's the command used to do in WalletDemoApplet?

Post by whitexiao » Sat Oct 08, 2016 9:49 pm

UNKNwYSHSA wrote:
whitexiao wrote:I found an applet called WalletDemoApplet in JCKit.
On the code line L159, there is a command "00 84 00 00 08" in case statement.
What's this command used to do? When will we use this command?
Can anyone one help me? Thanks

Get 8 random bytes as challange? For external authentication.


Yes, it used for external authentication. Thank you UNKNwYSHSA .

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 50 guests

JavaCard OS : Disclaimer