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

by NikerCR
Mon Mar 21, 2016 3:39 am
Forum: Questions & Answers
Topic: How to solve the problem with PSS scheme
Replies: 3
Views: 1137

Re: How to solve the problem with PSS scheme

You can use AlgTest to check if your card support the signature type .
by NikerCR
Mon Mar 21, 2016 3:20 am
Forum: Questions & Answers
Topic: create a Global PIN
Replies: 1
Views: 879

create a Global PIN

I am trying to write an applet which creates a Global PIN. Could somebody tell me the specific steps?
And where is the Global PIN actually stored? In my applet or in the ISD?
by NikerCR
Mon Mar 21, 2016 3:16 am
Forum: Card Products
Topic: Does A40CR card support RMAC?
Replies: 2
Views: 1229

Re: Does A40CR card support RMAC?

As far as I know, it does NOT SUPPORT RMAC.
by NikerCR
Mon Nov 30, 2015 2:54 am
Forum: Algorithm School
Topic: My applet returns 16 bytes of 0 instead of AES encrypted value,why?
Replies: 1
Views: 706

My applet returns 16 bytes of 0 instead of AES encrypted value,why?

I am writing a java card applet to encrypt 16 bytes of incoming APDU command data section and return the encrypted value. My code: public class DoAES extends Applet { static Cipher myCipher; static AESKey myAESKey; byte[] cipheredData = JCSystem.makeTransientByteArray((short) 0x10, JCSystem.CLEAR_ON...
by NikerCR
Sat Oct 17, 2015 3:52 am
Forum: Algorithm School
Topic: which cipher class supports ECC
Replies: 1
Views: 925

which cipher class supports ECC

I have a A22 card and it supports ECC. And I am going to encrypt data using ECC cryptography in my applet.
What i want to know is which cipher class supports ECC.
For RSA cryptography, it can use Cipher.ALG_RSA_PKCS1. What is the similar cipher class for ECC?
by NikerCR
Mon Sep 21, 2015 8:32 am
Forum: Algorithm School
Topic: Hash table on smart card
Replies: 2
Views: 944

Hash table on smart card

As far as i know, there is no hash table on smart card. But now i want to store a hash table containing the terminal configuration. I guess, smart card only stores the configuration , and the terminal sends the instruction to get stored configuration via APDU commands. Am i right ? If yes, how can i...
by NikerCR
Tue Sep 01, 2015 2:19 am
Forum: Algorithm School
Topic: convert data character string to java array
Replies: 1
Views: 901

convert data character string to java array

Every time I process algorithm computation, there is much data to be inputted.
How can I convert data character string to java array quickly ?
Such as "12345678" to 0x12, 0x34, 0x56, 0x78
by NikerCR
Tue Aug 25, 2015 11:50 pm
Forum: Algorithm School
Topic: How to know supported encryption/sign algorithms in a Javacard
Replies: 5
Views: 1839

Re: How to know supported encryption/sign algorithms in a Javacard

UNKNwYSHSA wrote:So simple, ask your card provider. If you did not know the card provider, you can only test yourself.

Hi,UNKNwYSHSA
Thanks for your answer anyway.
by NikerCR
Thu Jul 02, 2015 5:04 am
Forum: Algorithm School
Topic: How to know supported encryption/sign algorithms in a Javacard
Replies: 5
Views: 1839

Re: How to know supported encryption/sign algorithms in a Javacard

That's so nice of you. But,it takes too long to test all the possible algorithms successively . Is there any method to know all the algorithms supported by the given card at a time ?
by NikerCR
Fri Jun 19, 2015 7:05 am
Forum: Algorithm School
Topic: How to know supported encryption/sign algorithms in a Javacard
Replies: 5
Views: 1839

How to know supported encryption/sign algorithms in a Javacard

As the subject mentioned, how can i know all the encryption algorithms the Javacard supports?
JavaCard OS : Disclaimer