In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

Search found 233 matches

by mabel
Fri Dec 11, 2015 2:50 am
Forum: Questions & Answers
Topic: Without the cap file, how can I operate the applets?
Replies: 2
Views: 430

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.

package_list.png


A2: If you don't know the AID of the applet, you have no way to select it.
by mabel
Thu Dec 03, 2015 11:02 pm
Forum: Questions & Answers
Topic: Testing command success on JCIDE but failed on real card?
Replies: 3
Views: 533

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...
by mabel
Wed Dec 02, 2015 8:02 am
Forum: Questions & Answers
Topic: Store data in EEPROM or RAM?
Replies: 5
Views: 2821

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...
by mabel
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: 446

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...
by mabel
Mon Nov 30, 2015 2:31 am
Forum: Card Products
Topic: files in eJava Token
Replies: 2
Views: 507

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...
by mabel
Mon Nov 30, 2015 2:09 am
Forum: Card Products
Topic: Is there any implementation of Javacard 3.0 connected edition?
Replies: 2
Views: 660

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.
by mabel
Fri Nov 27, 2015 6:10 am
Forum: Questions & Answers
Topic: Re-implement applet installer or applet deletion manager on javacard
Replies: 2
Views: 519

Re: Re-implement applet installer or applet deletion manager on javacard

Only a Security Domain can install or uninstall Applets. And Applets can only gain very limited rights from Security Domain.
So the question you asked is impossible.
by mabel
Fri Nov 27, 2015 6:01 am
Forum: Questions & Answers
Topic: Is it possible to return some data along with the status word 9000 on selecting an applet in javacard?
Replies: 3
Views: 565

Re: Is it possible to return some data along with the status word 9000 on selecting an applet in javacard?

Code: Select all

public void process(APDU apdu) 
{
  byte[] buf = apdu.getBuffer();
  if (selectingApplet())
       {
          //send  data in the buffer
          return;
       }
}
by mabel
Mon Nov 16, 2015 7:09 am
Forum: pyResMan
Topic: A bug in pyResMan
Replies: 1
Views: 1146

A bug in pyResMan

I am using pyResMan to send APDU commands . I found that I could input the non-hex characters, e.g. xyz, in the DATA Field of APDU command. This is a bug.
It should not allow entering non-hex characters.

BUG.png
by mabel
Mon Nov 02, 2015 2:36 am
Forum: Questions & Answers
Topic: How to Write on a smart card?
Replies: 6
Views: 2312

Re: How to Write on a smart card?

I use JCIDE to build my applet and JCIDE shall generate the CAP file automatically under the project path(e.g. C:\workspace\test\bin\patest\javacard) if your project is built successfully. So if you just want to get the CAP file, just create a project in JCIDE , paste you applet code and build your ...
JavaCard OS : Disclaimer