Excited to tell you that our welfare activity has been upgraded - Paying only $5.00 + Freight to get JCOP J3H145 card and A40CR card.
Please check this post for more details.

Moreover, if you want to get Free Samples by Paying Freight only , please check this page.

who can help me to resolve the question and thanks

JavaCard Applet Development Related Questions and Answers.
happy123654
Posts: 28
Joined: Wed Jun 20, 2018 4:06 am
Points :154
Contact:

who can help me to resolve the question and thanks

Post by happy123654 » Thu Oct 25, 2018 10:36 pm

who can help me to resolve the question and thanks very much!

I write a applet to test my java cos. this applet can test algorithm and there have some command to implement the JCAPI: cipher.update and cipher.dofinal with the rsa std key(not rsa crt key). The rsa key is 2048 bit lenght and private rsa key .
the commands are as followed:
80048000c0 + ciphertext //the first half cipher text and the applet will call cipher.update
8004010040 + ciphertext//the second half cipher text and the applet will call cipher.dofinal

the first command cann't return anything from the java cos in TA protocol and the test is failure.

If i modify the command as followed:
80048000a0 + ciphertext //the first half cipher text and the applet will call cipher.update
8004010060 + ciphertext//the second half cipher text and the applet will call cipher.dofinal
the test case is right.

who can help me?

later123654
Posts: 11
Joined: Tue May 22, 2018 9:43 pm
Points :126
Contact:

Re: who can help me to resolve the question and thanks

Post by later123654 » Thu Oct 25, 2018 10:40 pm

I want to know the value of ATS. can you tell me?

happy123654
Posts: 28
Joined: Wed Jun 20, 2018 4:06 am
Points :154
Contact:

Re: who can help me to resolve the question and thanks

Post by happy123654 » Thu Oct 25, 2018 10:41 pm

My ATS: 78806102. thanks.

later123654
Posts: 11
Joined: Tue May 22, 2018 9:43 pm
Points :126
Contact:

Re: who can help me to resolve the question and thanks

Post by later123654 » Thu Oct 25, 2018 10:42 pm

I think you set the FWT too little and it make the frame wait time shorter.
You can set the FWT bigger and test again。

happy123654
Posts: 28
Joined: Wed Jun 20, 2018 4:06 am
Points :154
Contact:

Re: who can help me to resolve the question and thanks

Post by happy123654 » Fri Oct 26, 2018 2:35 am

I set FWT bigger and the test case is ok.
Now, I have a question: where I make the command data less, I can get the right response, why?

later123654
Posts: 11
Joined: Tue May 22, 2018 9:43 pm
Points :126
Contact:

Re: who can help me to resolve the question and thanks

Post by later123654 » Fri Oct 26, 2018 2:40 am

I think perhapse there are some datas needed to write into NVM and the less command data need less time.
Perhapse, you just change the time distribution framework and it just stagger the import time order of WTX sending and receiving.

happy123654
Posts: 28
Joined: Wed Jun 20, 2018 4:06 am
Points :154
Contact:

Re: who can help me to resolve the question and thanks

Post by happy123654 » Fri Oct 26, 2018 2:42 am

thanks and you are professional.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Bing [Bot] and 5 guests

JavaCard OS : Disclaimer