The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

Search found 17 matches

by nikonai
Thu Jan 24, 2019 9:40 pm
Forum: Questions & Answers
Topic: Question about Fingerprint MOC Demo Kit (FS88H)
Replies: 1
Views: 775

Question about Fingerprint MOC Demo Kit (FS88H)

I have received the Fingerprint MOC Demo Kit (FS88H). Thanks for your J3H145 card.
But the package does not include any software CD that can let me download FPDemo.exe Application
How can I get this?
by nikonai
Tue Oct 03, 2017 6:36 pm
Forum: Questions & Answers
Topic: Encounter error 6F 00 when importing RSA Private Key
Replies: 2
Views: 1111

Re: Encounter error 6F 00 when importing RSA Private Key

It seems that I found the problem. It is the conversion of the BigInteger value into a hex byte. I will try to fix this now.
by nikonai
Tue Oct 03, 2017 1:11 am
Forum: Questions & Answers
Topic: Encounter error 6F 00 when importing RSA Private Key
Replies: 2
Views: 1111

Encounter error 6F 00 when importing RSA Private Key

I am trying to import a 1024 bit RSA private CRT key from a java application, but I cannot get it to work, I only got 6F 00 error code. Need it convert to hex-bytes? How do I convert it? Any help is much appreciated. Here is section of my code: final static byte SET_PRIVATE_KEY= (byte) 0x22; private...
by nikonai
Fri Sep 08, 2017 5:53 am
Forum: Questions & Answers
Topic: Export encrypted private key
Replies: 2
Views: 1312

Re: Export encrypted private key

I changed my encrypt method to this: private void encrypt(APDU apdu, byte[] dataToEncrypt, short len) { try { short outbytes; byte[] apduBuffer = apdu.getBuffer(); outbytes = cipher.doFinal(dataToEncrypt,(short)0, len, apduBuffer, (short)0); apdu.setOutgoing(); apdu.setOutgoingLength(outbytes); apdu...
by nikonai
Thu Sep 07, 2017 10:44 pm
Forum: Questions & Answers
Topic: Export encrypted private key
Replies: 2
Views: 1312

Export encrypted private key

My Java App creates a RSA-keypair. I send the public key to the card. The card generated 1 keypair before, too. Now the card sets another keypairs public key to the sent parameters, so that the card now can encrypt something for the offcard private key. Now I try to encrypt the parameters of the car...
by nikonai
Fri Jul 28, 2017 3:25 am
Forum: Questions & Answers
Topic: RSA Decryption Problem
Replies: 2
Views: 1190

Re: RSA Decryption Problem

Thank you for your kind answer, chico0609.

I have found the problem. It is surely caused by the PKCS1 padding.
by nikonai
Thu Jul 27, 2017 11:30 pm
Forum: Questions & Answers
Topic: RSA Decryption Problem
Replies: 2
Views: 1190

RSA Decryption Problem

I generate RSA Key and get Public Key from my applet. I encrypt "13131313131313130000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" data with another tool with public key of my applet. My applet can decrypt this data perfectly....
by nikonai
Fri Jun 16, 2017 5:54 am
Forum: Questions & Answers
Topic: Implement a simple JavaCard API
Replies: 3
Views: 1349

Re: Implement a simple JavaCard API

Thank you for your help. Now I am confused about a basic question.
Does the java card API stored in a card in cap file form?
by nikonai
Thu Jun 15, 2017 1:59 am
Forum: Questions & Answers
Topic: Implement a simple JavaCard API
Replies: 3
Views: 1349

Implement a simple JavaCard API

I have to write a simple JCVM in C language,but I am experiencing a problem. Such as method invoke,if I invoke a method in a package,the byte-code is in the cap file. But if it is in JavaCard API like apdu.getbuffer(),how can I implement it? I just need to implement a simple version of JavaCard API,...
by nikonai
Fri Dec 02, 2016 5:51 am
Forum: Questions & Answers
Topic: JCIDE supports HMacKey ???
Replies: 3
Views: 1574

Re: JCIDE supports HMacKey ???

Great!! It works now. Thanks
JavaCard OS : Disclaimer