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.

Got 0x6444 when calling buildKey()

JavaCard Applet Development Related Questions and Answers.
kineri
Posts: 19
Joined: Thu Dec 10, 2015 2:04 am
Points :184
Contact:

Got 0x6444 when calling buildKey()

Post by kineri » Fri Mar 11, 2016 3:36 am

I have completed an applet to calculate RSA signature with the fixed RSA CRT components and data sent by CAD.
The following are APDUs I send and receive. For second command, I got 6444.

>>00a4040009a0000000620301080100
<<9000
>>80b800000b09a0000004e0000100010000
<<6444

I debugged my applet step by step, finally I found where the problem exists. But I still don't know how to fix this problem. Hope somebody give me some pointers.

The code that has problems.

Code: Select all

privateCrtKey = (RSAPrivateCrtKey)KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_CRT_PRIVATE, KeyBuilder.LENGTH_RSA_2048, false);
asymSignature = Signature.getInstance(Signature.ALG_RSA_SHA_PKCS1, false);

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :138
Contact:

Re: Got 0x6444 when calling buildKey()

Post by horse dream » Mon Mar 14, 2016 3:30 am

Maybe you should try to use RSA1024 or RSA512. It may be a problem with supported algorithms and non-standard response codes.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 38 guests

JavaCard OS : Disclaimer