Search found 8 matches
- Thu Jan 19, 2017 12:06 am
- Forum: Questions & Answers
- Topic: How much RAM my applet needs
- Replies: 3
- Views: 8101
Re: How much RAM my applet needs
Thanks for all the answers. I have tried to call JCSystem.getAvailableMemory(MEMORY_TYPE_TRANSIENT_RESET) to know the approximate memory.
- Tue Jan 17, 2017 11:09 pm
- Forum: Questions & Answers
- Topic: How much RAM my applet needs
- Replies: 3
- Views: 8101
How much RAM my applet needs
I wonder how much RAM my applet will need. What consumes RAM in my applet? I can count the transient variables but how do I find out how much RAM for the stack I need?
- Fri Oct 28, 2016 4:31 am
- Forum: Algorithm School
- Topic: CAN'T calculate C-MAC
- Replies: 2
- Views: 7479
Re: CAN'T calculate C-MAC
You might use the wrong ICV.
- Mon Jun 13, 2016 5:46 am
- Forum: Questions & Answers
- Topic: confused with the API methods
- Replies: 2
- Views: 7059
Re: confused with the API methods
receiveBytes(short bOff) is to receive data from card OS and store it in APDU buffer.
You can send byte array directly via sendBytesLong(byte[] outData, short bOff, short len). I mean you don't have to copy data to APDU buffer first.
You can send byte array directly via sendBytesLong(byte[] outData, short bOff, short len). I mean you don't have to copy data to APDU buffer first.
- Wed Jun 01, 2016 4:22 am
- Forum: Questions & Answers
- Topic: Build large java card application
- Replies: 2
- Views: 6358
Re: Build large java card application
I have the similar question. I try to split my whole code to four javacard packages. Then I build the project, but I saw that only the Java card applet class file was produced. The other javacard files are not built. The cap file is not generated yet. I am using JCOP tools. Who can help me solve thi...
- Mon Mar 21, 2016 4:04 am
- Forum: Algorithm School
- Topic: Which can I choose for digital signature, Cipher.MODE_ENCRYPT or Cipher.MODE_DECRYPT?
- Replies: 3
- Views: 9590
Which can I choose for digital signature, Cipher.MODE_ENCRYPT or Cipher.MODE_DECRYPT?
I have used this code line to initialize RSA cipher. crypto.rsaCipher.init(keyStore.cardPrivateKey, Cipher.MODE_DECRYPT); which is initialized as: rsaCipher = Cipher.getInstance(Cipher.ALG_RSA_NOPAD, false); Now my question is I am not sure which parameter to select between Cipher.MODE_ENCRYPT and C...
- Tue Mar 01, 2016 5:22 am
- Forum: Questions & Answers
- Topic: authentication probelm
- Replies: 2
- Views: 6261
authentication probelm
I am going to upload an applet into my smart card by JLoad program. But I came across an error, which means the authentication is failed and INITIALIZE UPDATE is also failed with 6982. Does anyone know what is wrong? Thanks in advance.
- Thu Jan 14, 2016 4:36 am
- Forum: Questions & Answers
- Topic: Finding a good way to use Javacard RMI library
- Replies: 1
- Views: 5349
Finding a good way to use Javacard RMI library
I am going to develop a Smartcard application that is using RMI. When configuring ApduIOCardAccessor to use PC/SC, it prints the error message: "WARNING: PC/SC is not officially supported and may not work on all platforms.". Is there any CardAccessor for the Javacard RMI classes that is ba...