Search found 24 matches
- Tue Mar 22, 2016 4:40 am
- Forum: Questions & Answers
- Topic: How to install ROM masked applet
- Replies: 2
- Views: 7898
How to install ROM masked applet
When I have EEPROM applet, I have to load packages, applet and then I have to perform the installation with INSTALL command. But when I get the ROM masked applet, what specific steps should I follow to install the applet?
- Thu Feb 04, 2016 3:08 am
- Forum: Algorithm School
- Topic: RSA in java card
- Replies: 1
- Views: 7850
RSA in java card
Does anyone have sample code for RSA encryption / decryption running on java card?
- Wed Dec 30, 2015 1:45 am
- Forum: Communication
- Topic: Is there a java card parser for BER-TLV ?
- Replies: 1
- Views: 7821
Is there a java card parser for BER-TLV ?
Please check the subject.
And the length of tags and values are not known. Any pointers?
And the length of tags and values are not known. Any pointers?
- Fri Dec 25, 2015 3:12 am
- Forum: Questions & Answers
- Topic: Get 6A80 when installing applet into card
- Replies: 1
- Views: 4883
Get 6A80 when installing applet into card
I am developing an applet which has to implement BigNumber datatype. I can install my applet successfully in JCIDE simulator, but when I install it to my real cards, it returns sw=0x6A80. I research for some time and find that if I comment the line import javacardx.framework.math.BigNumber; My apple...
- Mon Dec 21, 2015 3:09 am
- Forum: Questions & Answers
- Topic: Find a way to open a secure channel
- Replies: 1
- Views: 4585
Find a way to open a secure channel
I wrote an applet and it always returned "0x6982"(Security condition not satisfied). Here is part of code: byte[] header = {(byte)0x02, (byte)0x01, (byte)0x01}; ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); outputStream.write(header); outputStream.write(Value.SN.getByte...
- Sun Nov 29, 2015 3:30 am
- Forum: Card Products
- Topic: What's the primary difference between OP_READY and SECURED?
- Replies: 1
- Views: 5972
What's the primary difference between OP_READY and SECURED?
I saw a topic talking about the card status INITIALIZED and SECURED. I have some doubts about the difference between OP_READY and SECURED. I have already read GP2.1.1, but it's a little hard for me to understand. I really want to know what's the primary difference between the two status. Compared wi...
- Thu Nov 26, 2015 5:07 am
- Forum: Questions & Answers
- Topic: javacard byte array max length
- Replies: 1
- Views: 4969
javacard byte array max length
What is the maximum length when defining a byte array in java card?
In my 32k java card, I defined a byte array with length of 9*1024 and it returned 6A 84 error (6A 84 means "Not enough memory space in the file").
But when I define it with length of 8*1024, there is no error.
In my 32k java card, I defined a byte array with length of 9*1024 and it returned 6A 84 error (6A 84 means "Not enough memory space in the file").
But when I define it with length of 8*1024, there is no error.
- Wed Nov 25, 2015 7:22 am
- Forum: Algorithm School
- Topic: Can I clear the algorithm instance?
- Replies: 1
- Views: 5500
Can I clear the algorithm instance?
As we all know,when we write an applet, we should create the algorithm instance before calling one encryption algorithm. For example, theCipher = Cipher.getInstance(Cipher.ALG_AES_BLOCK_128_CBC_NOPAD,false) Qs: After using the algorithm to do encryption, can I clear this instance? -If Yes, how can I...
- Mon Nov 23, 2015 6:04 am
- Forum: Card Products
- Topic: Is there any way to to hide the applet in java card
- Replies: 1
- Views: 6124
Is there any way to to hide the applet in java card
As we all know, using some tools(such as gpshell, opensc-tool, pyApduTool), we can see the applet list on a java card.
I want to know if there is any way to to hide the applet so that they won't show up in the GET STATUS response. Thanks
I want to know if there is any way to to hide the applet so that they won't show up in the GET STATUS response. Thanks
- Tue Oct 06, 2015 11:23 am
- Forum: Card Products
- Topic: Get the size of EEPROM the applet installation use in java card
- Replies: 1
- Views: 5710
Get the size of EEPROM the applet installation use in java card
How can I know how much EEPROM java card applet installation use? I haven't found any direct method to get the size of an applet yet.
Is it equal with the size of CAP file?
Is it equal with the size of CAP file?