Search found 237 matches
- Wed Dec 16, 2015 2:01 am
- Forum: Algorithm School
- Topic: Got 0x8888 when transfering RSA public key outside
- Replies: 1
- Views: 6669
Re: Got 0x8888 when transfering RSA public key outside
1. getSize() returns the bit length of the key, not the byte length. 2. ((RSAPublicKey) thePrivateKey).getExponent(publicKey, (short) publicKeySize); This won't work. You are asking for the exponent to be stored at offset publicKeySize in array publicKey -- that is, at the very end of the array, whe...
- Sat Dec 12, 2015 4:35 am
- Forum: Card Products
- Topic: Which algrithms does my card support?
- Replies: 2
- Views: 7758
Re: Which algrithms does my card support?
There is a tool called ALGTest. This tool can help you confirm which algorithms you cards support.
This post shows the specific operation.
Hope it helps!
This post shows the specific operation.
Hope it helps!
- Fri Dec 11, 2015 3:43 am
- Forum: Algorithm School
- Topic: Which algrithom do we use to do INITILIZE UPDATE and EXTERNAL AUTHENTICATION?
- Replies: 1
- Views: 6616
Re: Which algrithom do we use to do INITILIZE UPDATE and EXTERNAL AUTHENTICATION?
As GP spec 2.1.1 shows, these three keys are all using DES to do computation.
- Fri Dec 11, 2015 3:07 am
- Forum: Card Products
- Topic: My cards can work with wrong GP keys, why?
- Replies: 1
- Views: 6186
Re: My cards can work with wrong GP keys, why?
You only changed the parity bit which is not used by the card. So no matter how you change this parity bit, it doesn't influence the outcome of cipher computation.
- Fri Dec 11, 2015 2:50 am
- Forum: Questions & Answers
- Topic: Without the cap file, how can I operate the applets?
- Replies: 2
- Views: 6121
Re: Without the cap file, how can I operate the applets?
A1:
PyApduTool can help you get all the packages' or applets' AID in java card even though you don't have the cap file.
A2: If you don't know the AID of the applet, you have no way to select it.
PyApduTool can help you get all the packages' or applets' AID in java card even though you don't have the cap file.
A2: If you don't know the AID of the applet, you have no way to select it.
- Thu Dec 03, 2015 11:02 pm
- Forum: Questions & Answers
- Topic: Testing command success on JCIDE but failed on real card?
- Replies: 3
- Views: 7176
Re: Testing command success on JCIDE but failed on real card?
Is the communication protocol of your card the same as the simulator protocol in JCIDE? "6C xx" means you should tell cards the number of returned bytes(xx) you expected. So you should append Le byte to the APDU command and resend it. >> 00 B3 00 00 06 Note: You'd better set the same simul...
- Wed Dec 02, 2015 8:02 am
- Forum: Questions & Answers
- Topic: Store data in EEPROM or RAM?
- Replies: 5
- Views: 16963
Re: Store data in EEPROM or RAM?
When we develop javacard applets, we will apply for memory for variables. You should know that data stored in EEPROM will not be erased even after you remove the power supply to the card. Writing and reading from EEPROM is slower compared to RAM. Also, the number of possible EEPROM writes that you c...
- Wed Dec 02, 2015 7:56 am
- Forum: Questions & Answers
- Topic: How to give the key as the parameter of install() method
- Replies: 1
- Views: 8377
Re: How to give the key as the parameter of install() method
Normally a Java Card implementation also implements Global Platform. In that case the user parameters can be given as part of the INSTALL for INSTALL command. It is important to provide the instance AID first. Then there is a specific format for the Application Specific Parameters (tag C9, then a le...
- Mon Nov 30, 2015 2:31 am
- Forum: Card Products
- Topic: files in eJava Token
- Replies: 2
- Views: 7081
Re: files in eJava Token
To the best of my knowledge, the files in ejava token should be the same as java card. If I am right, the answers to your questions should be: A1: Consider each Java Card application to be a DF directly below the MF. Though, be aware that Java Cards only make use of parts of the ISO 7816-4 file syst...
- Mon Nov 30, 2015 2:09 am
- Forum: Card Products
- Topic: Is there any implementation of Javacard 3.0 connected edition?
- Replies: 2
- Views: 7204
Re: Is there any implementation of Javacard 3.0 connected edition?
Do you have the answer? I am also curious about the implementation of Javacard 3.0 connected edition.