Search found 40 matches
- Tue Nov 03, 2015 9:01 am
- Forum: Questions & Answers
- Topic: wallet applet: how does the pin work ?
- Replies: 5
- Views: 12992
Re: wallet applet: how does the pin work ?
The PIN is using in this function: private Wallet (byte[] bArray,short bOffset,byte bLength), and it is incoming through the installation parameters.
- Mon Nov 02, 2015 7:59 am
- Forum: Questions & Answers
- Topic: Finding a constant that can be replaced with ISO7816.SW_PIN_REQUIRED to make my javacard work fine
- Replies: 1
- Views: 5744
Re: Finding a constant that can be replaced with ISO7816.SW_PIN_REQUIRED to make my javacard work fine
The ISO7816.SW_PIN_REQUIRED is not accord with ISO7816. You can use the constant existed in ISO7816 standard or you can redefine it yourself.
- Mon Nov 02, 2015 7:34 am
- Forum: Questions & Answers
- Topic: How many logical channels does JCIDE debug support?
- Replies: 3
- Views: 8353
Re: How many logical channels does JCIDE debug support?
I used JCIDE is the latest, and find it supporting 20 logical channels. Maybe you can update your JCIDE and try it.
- Mon Nov 02, 2015 3:53 am
- Forum: Questions & Answers
- Topic: How to Write on a smart card?
- Replies: 6
- Views: 14859
Re: How to Write on a smart card?
Download Cap error: Check Card Cryptogram failed.
You can switch to the BaseAPDU page in output, view the APDU while downloading cap file.
Maybe the key of this card you used is changed, you can check if the key is the default "404142434445464748494A4B4C4D4E4F".
- Fri Sep 11, 2015 8:59 pm
- Forum: JCAlgTest
- Topic: AlgTest Instructions & Applet Source Code
- Replies: 3
- Views: 24343
Re: AlgTest Instructions & Applet Source Code
The new apllet source code with version v1.6.
It also add the garbage collection mechanism and exception handling to adapt to to more cards.
It also add the garbage collection mechanism and exception handling to adapt to to more cards.
- Fri Sep 11, 2015 2:18 am
- Forum: JCAlgTest
- Topic: AlgTest Instructions & Applet Source Code
- Replies: 3
- Views: 24343
Re: AlgTest Instructions & Applet Source Code
The Applet in github and this forum exists some questions, I hava already optimized the applet with the version V1.3, and added garbage collection after setOutgoingAndSend(). The new version will continue to update, more information you can visit the GitHub . Everyone can download this attachment.
- Sat Aug 29, 2015 3:16 am
- Forum: Questions & Answers
- Topic: how to select java card applet automatically after resetting the card?
- Replies: 2
- Views: 9224
Re: how to select java card applet automatically after resetting the card?
You can read the GlobalPlatform Specification about the "install for install" command, there is a Application Privileges bytes in Data Field. when you send "install for install" command, you can set application privileges with 0x04, it will make your applet default selectable.
- Fri Jun 12, 2015 7:07 am
- Forum: Questions & Answers
- Topic: What is the alternative of ISO7816.SW_PIN_REQUIRED in JavaCard 2.2.2?
- Replies: 1
- Views: 8308
Re: What is the alternative of ISO7816.SW_PIN_REQUIRED in JavaCard 2.2.2?
Check out Java Card 2.2.2 API Specifications - ISO7816 Interface AGAIN. You will see there is no field named SW_PIN_REQUIRED in this interface. you can simply add the following line in the constant declaration section of your program, and then replace ISO.SW_PIN_REQUIRED with SW_PIN_REQUIRED. final ...
- Wed Jun 10, 2015 6:05 am
- Forum: Questions & Answers
- Topic: Upload CAP file to smart card using APDU
- Replies: 4
- Views: 16870
Re: Upload CAP file to smart card using APDU
Yes if you are sending the correct command APDUs then you will be able to install it but in case of Global-platform cards you will need to create secure channel first and then you might send Install For Load and subsequent load/install commands. The sequence of steps will be: 1. Select card manager ...
- Thu May 28, 2015 2:12 am
- Forum: Questions & Answers
- Topic: What is the difference between Util.arrayCopy and Util.arrayCopyNonAtomic?
- Replies: 1
- Views: 10447
Re: What is the difference between Util.arrayCopy and Util.arrayCopyNonAtomic?
The Java Card Platform provides two methods Util.arrayCopy and Util.arrayCopyNonAtomic for coping data from one byte array to another. I've seen some programmers using Util.arrayCopy anywhere as they don't know the difference between the two methods or why exception is thrown. In the Java Card API ...