Search found 237 matches

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: 697

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: 833

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: 1385

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: 2968

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 ...
by mabel
Wed Oct 28, 2015 11:09 pm
Forum: Questions & Answers
Topic: How to Write on a smart card?
Replies: 6
Views: 2968

Re: How to Write on a smart card?

Are you referring to upload and install the applet into your smartcard? If Yes, you can use PyAPDUTool to do this. And then send/receive APDU command to communicate with your applet via this tool. If you need to develop an applet by yourself, this tool can help. In addition, you can look through the...
by mabel
Sat Oct 24, 2015 11:20 pm
Forum: Reader
Topic: doubts about using BRatetools V1.0.1.1
Replies: 1
Views: 814

doubts about using BRatetools V1.0.1.1

Hey guys. I got the bR301 smartcard reader yesterday. It's really an excellent smartcard reader. But now i have some doubts when using BRatetools V1.0.1.1 to test Blutooth rate . I select the data.ini file toghther with the tool via OpenScript button. After I click the "Start" button, all ...
by mabel
Mon Oct 12, 2015 5:29 am
Forum: Questions & Answers
Topic: How to store secure key within the smart card applet
Replies: 1
Views: 963

Re: How to store secure key within the smart card applet

You can use predefined arrays or applet specific installation parameter to instantiate your keys during creation of the applet. Then the private keys shall be stored.
The GP card specification has provided the ways of key loading and content loading. Please take a look at this specification.
by mabel
Mon Oct 12, 2015 5:03 am
Forum: Algorithm School
Topic: How to speed up RSA encryption/decryption in java card
Replies: 2
Views: 1220

How to speed up RSA encryption/decryption in java card

I have already completed a java card applet implementing RSA encryption/decryption in java card.
But I find that RSA 2048 takes much more time than RSA 512 and RSA 1024.
Is there any way to speed up the RSA encryption/decryption?
by mabel
Thu Sep 17, 2015 2:42 am
Forum: Questions & Answers
Topic: Delete card manager applet on the java card ?
Replies: 2
Views: 1012

Re: Delete card manager applet on the java card ?

Hey there,

You can not delete the card manager, since the Card Manager is the card component responsible for all card administration and card system service functions. It handles the application management of the card.
by mabel
Thu Sep 17, 2015 1:46 am
Forum: Questions & Answers
Topic: java card program problem: how to make code simpler and more efficient
Replies: 1
Views: 707

java card program problem: how to make code simpler and more efficient

I am writing code for java card encryption. Here is part of the code. switch (buf[ISO7816.OFFSET_P1]){ case (byte) 0x01: switch (buf[ISO7816.OFFSET_P2]){ case (byte) 0x01: doSingleDES(apdu, DESKey1); return; case (byte) 0x02: doSingleDES(apdu, DESKey2); return; case (byte) 0x03: doSingleDES(apdu, DE...
JavaCard OS : Disclaimer