Search found 18 matches
- Thu Oct 12, 2017 10:27 pm
- Forum: Questions & Answers
- Topic: Doubt about JavaCard Memory
- Replies: 3
- Views: 7894
Doubt about JavaCard Memory
I made a simple applet to test the speed of adding arrays, depending whether they are saved in EEPROM or RAM. Since working with variables stored in RAM should be faster, I was really surprised when I noticed no difference between them. I would really like to know where I went wrong, but simply cann...
- Tue Jun 20, 2017 6:10 am
- Forum: Shopping FAQ
- Topic: JC10M128C card
- Replies: 2
- Views: 7342
Re: JC10M128C card
Thanks for your prompt reply. I will get some samples first.
- Tue Jun 20, 2017 2:07 am
- Forum: Shopping FAQ
- Topic: JC10M128C card
- Replies: 2
- Views: 7342
JC10M128C card
Dear JavaCardOS Team, I am interested in JC10M128C card. The features of this card meet my need well. But I don't need it to be finished sim-format. I need it unibody, just like other common contact card. So do you provide the JC10M128C card that have not been cut to SIM size? Thanks for your reply....
- Fri Apr 28, 2017 5:59 am
- Forum: Questions & Answers
- Topic: pre-personalization on a J2A040 card
- Replies: 4
- Views: 11778
Re: pre-personalization on a J2A040 card
Wow, I used transport key as the AID in the SELECT command. it works. Many thanks for your help.
- Thu Apr 27, 2017 11:16 pm
- Forum: Questions & Answers
- Topic: pre-personalization on a J2A040 card
- Replies: 4
- Views: 11778
pre-personalization on a J2A040 card
I want to do pre-personalization on a J2A040 card. And I know pre-personalization procedure. But when I send the SELECT command to select the ROOT applet, the card returns ERROR status word 0x6A81, has anyone encountered this problem when doing pre-personalization on JCOP card? Please guide how to r...
- Tue Dec 27, 2016 5:27 am
- Forum: Questions & Answers
- Topic: Checksum result is different between host and card
- Replies: 4
- Views: 7842
Re: Checksum result is different between host and card
I just found that Java CRC32 starts with an initial value 0xFFFFFFFF. So I set the card to 0xFFFFFFFF, it works. Now both the card and host checksum result is same. byte[] ini = new byte[]{(byte)0xFF, (byte)0xFF, (byte)0xFF, (byte)0xFF}; checksum.init(ini, (short)0, (short)ini.length); The problem w...
- Tue Dec 27, 2016 4:42 am
- Forum: Questions & Answers
- Topic: Checksum result is different between host and card
- Replies: 4
- Views: 7842
Re: Checksum result is different between host and card
My host code to creates a checksum Checksum checksum = new CRC32(); checksum.update(rawData, 0, rawData.length); long checksum_value = checksum.getValue(); Create checksum on card Checksum checksum = Checksum.getInstance(Checksum.ALG_ISO3309_CRC32, false); checksum.doFinal(data, (short)0, (short)dat...
- Mon Dec 26, 2016 11:42 pm
- Forum: Questions & Answers
- Topic: Checksum result is different between host and card
- Replies: 4
- Views: 7842
Checksum result is different between host and card
I tried to send a message with a CRC32 code from the java host to the java card. The host creates a checksum and send it with the message to the card and I also created a checksum on the card side. But I got the different results from two sides.
Why?
Why?
- Fri Nov 11, 2016 5:21 am
- Forum: Questions & Answers
- Topic: bArray in JCRE
- Replies: 3
- Views: 7638
Re: bArray in JCRE
The size depends on the card. And you can't store them in a reference due to the JCRE applet firewall.
- Wed Oct 12, 2016 5:01 am
- Forum: Algorithm School
- Topic: Parameters : byte [] buffer and offset
- Replies: 1
- Views: 6038
Parameters : byte [] buffer and offset
Could anybody help me understand the arguments to the functions getModulus(byte [] buffer, short offset) and getExponent(byte [] buffer, short offset) well. What is byte [] buffer and offset?