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 19 matches

by kineri
Mon Oct 16, 2017 5:41 am
Forum: Questions & Answers
Topic: SW_ILLEGAL_USE returned by cipher.dofinal()
Replies: 3
Views: 1199

Re: SW_ILLEGAL_USE returned by cipher.dofinal()

Many thanks for your help, Crawford. It saved my day.
by kineri
Mon Oct 16, 2017 2:14 am
Forum: Questions & Answers
Topic: SW_ILLEGAL_USE returned by cipher.dofinal()
Replies: 3
Views: 1199

SW_ILLEGAL_USE returned by cipher.dofinal()

I try to encrypt/decrypt with DES. I got an error SW_ILLEGAL_USE when calling decode() but it works fine for encode(). And I cannot find out where is the problem? Could anyone help me? Thanks. import javacard.framework.*; import javacard.security.*; import javacardx.crypto.*; public class MyApplet e...
by kineri
Fri Jun 30, 2017 4:07 am
Forum: Questions & Answers
Topic: RSA encryption problem
Replies: 2
Views: 946

Re: RSA encryption problem

Sorry. I forgot to attach my code package rsaapplet; import javacard.framework.*; import javacard.security.*; import javacardx.crypto.Cipher; public class RSAApplet extends javacard.framework.Applet { // class of instructions private final static byte CLA = (byte) 0x80; // RSA instructions private f...
by kineri
Fri Jun 30, 2017 12:04 am
Forum: Questions & Answers
Topic: RSA encryption problem
Replies: 2
Views: 946

RSA encryption problem

I have generated a key pair in the applet constructor and also instantiated a RSA cipher.
If I try to encrypt the same plain text two times with the public key, I obtain two different cipher texts.

What 's the problem? Could anyone figure me out? Thanks.
by kineri
Tue Nov 01, 2016 11:10 pm
Forum: Questions & Answers
Topic: How to put a PKCS#11-cert on javacard
Replies: 2
Views: 1100

How to put a PKCS#11-cert on javacard

I have a Javacard with an applet on it and I want to do some crypto-operations. Could anybody tell me how to upload a PKCS#11-cert on the card?
by kineri
Thu Sep 29, 2016 8:45 am
Forum: Card Products
Topic: AlgTest result of JC10M24R java card
Replies: 1
Views: 1321

AlgTest result of JC10M24R java card

Could anybody provide the AlgTest result of JC10M24R java card?

Thanks
by kineri
Sun Sep 11, 2016 10:10 pm
Forum: Algorithm School
Topic: ECC curve parameters
Replies: 4
Views: 1592

ECC curve parameters

Where can I get the ECC curve parameters? Is there any related specification? thanks.
by kineri
Fri Sep 02, 2016 1:29 am
Forum: Questions & Answers
Topic: changing to channel 3 in JCIDE
Replies: 3
Views: 1296

Re: changing to channel 3 in JCIDE

To exit the current logical channel, which command should I send?
by kineri
Wed Aug 31, 2016 1:34 am
Forum: Shopping FAQ
Topic: color printing
Replies: 3
Views: 1932

color printing

I have bought several A40CR cards two months ago. The cards are white blank cards.

I wonder if you can do color printing on card. I want my card to have the front print.

If yes, how much do you charge for this service?
by kineri
Fri Jun 17, 2016 1:26 am
Forum: Shopping FAQ
Topic: buy some A40CR cards
Replies: 3
Views: 1560

Re: buy some A40CR cards

If this, I want my card support Mifare 1K .

So can I have my card support the configuration?
- Java Card 3.0.4, GP2.2.1
- T=0
- Type A
- Mifare 1K
JavaCard OS : Disclaimer