Search found 12 matches
- Sun Sep 24, 2017 11:10 pm
- Forum: Questions & Answers
- Topic: How to use jsr177 to access smart card
- Replies: 3
- Views: 7591
How to use jsr177 to access smart card
I would like to use jsr177 to access smart card by sending APDU. But I don't know how APDUs are sent to my smartard? Does jsr177 also use similar pc/sc? Any help is greatly appreciated.
- Thu May 18, 2017 2:38 am
- Forum: Questions & Answers
- Topic: How to confirm the integrity of transient array
- Replies: 1
- Views: 5616
How to confirm the integrity of transient array
I am using the transient array to store data. After the signature is computed, the data is encrypted with the 3DES key. After that, the data is transfered into APDU buffer and sent to the terminal. I am using the 2KB keys, so the signature in returned in two APDU responses. How can I confirm the int...
- Wed May 10, 2017 1:41 am
- Forum: Questions & Answers
- Topic: How does java card treat the cap file when sending APDU command
- Replies: 1
- Views: 5601
How does java card treat the cap file when sending APDU command
Recently, I am always thinking about one problem: how does a real java card executes APDU based on the cap file?
When we sent APDU command to the card, how does card treats the command and cap file? Anyone knows?
When we sent APDU command to the card, how does card treats the command and cap file? Anyone knows?
- Tue Jan 24, 2017 4:04 am
- Forum: Shopping FAQ
- Topic: JC30M48CR cards chip
- Replies: 2
- Views: 21177
JC30M48CR cards chip
We are planning to test JC30M48CR card in our application.
Could you please tell us the chip mode that JC30M48CR card uses? Thanks.
Could you please tell us the chip mode that JC30M48CR card uses? Thanks.
- Mon Oct 17, 2016 11:14 pm
- Forum: Algorithm School
- Topic: How to get hash of message
- Replies: 2
- Views: 7254
How to get hash of message
I tried to use MessageDigest to get hash. it always returned 6F 00. I guess MessageDigest.getInstance caused the problem, but I'm not sure. ANY HELP? tHANKS! My sectional code: private void getDigest(byte[] buffer) { if (hashArray == null) hashArray = JCSystem.makeTransientByteArray((short)20, JCSys...
- Wed Jun 15, 2016 1:30 am
- Forum: Questions & Answers
- Topic: confused with the API methods
- Replies: 2
- Views: 7056
Re: confused with the API methods
receiveBytes(short bOff) method retrieves data from the card OS and populates the APDU buffer.
You don't have to copy data to APDU buffer because the JCRE does the copy for you.
You don't have to copy data to APDU buffer because the JCRE does the copy for you.
- Mon May 23, 2016 4:42 am
- Forum: Card Products
- Topic: key lengths supported by AES
- Replies: 3
- Views: 8615
Re: key lengths supported by AES
JavaCardOS wrote:Hello! AES algorithms supports the following key length:
LENGTH_AES_128
LENGTH_AES_192
LENGTH_AES_256
Thank you for your kind response! But what about ECC algorithms ? Which key lengths are supported for ECC?
Await for your reply!
- Mon May 23, 2016 2:36 am
- Forum: Card Products
- Topic: key lengths supported by AES
- Replies: 3
- Views: 8615
key lengths supported by AES
Hello! For IFD A22CR card, is there anyone tell me which key lengths does AES algorithm support? thx
- Wed Apr 27, 2016 4:04 am
- Forum: Questions & Answers
- Topic: Does extended length APDU affect calculation of C-MAC
- Replies: 3
- Views: 9748
Re: Does extended length APDU affect calculation of C-MAC
Do you have a reference that specifically addresses extended length APDUs for GP? My concern is related to the coding of Lc and the SCP01 length (L) byte for encrypted data. For SCP01, the length of the data field prior to padding is explicitly encoded in one byte and pre-pended to the data field. L...
- Wed Apr 27, 2016 3:16 am
- Forum: Questions & Answers
- Topic: Does extended length APDU affect calculation of C-MAC
- Replies: 3
- Views: 9748
Does extended length APDU affect calculation of C-MAC
Hi! If I want to send an extended length APDU, does it affect calculation of various C-MAC?