Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Search found 237 matches

by mabel
Fri Jun 16, 2017 5:37 am
Forum: Questions & Answers
Topic: SELECT command
Replies: 3
Views: 8261

Re: SELECT command

Your code has told the OS to get ready to send the required data and then keeps executing through to your switch statement which does not understand the INS and throws the appropriate error. Please add a "return" statement after sendBytesLong().
by mabel
Thu Jun 15, 2017 10:24 pm
Forum: Questions & Answers
Topic: SELECT command
Replies: 3
Views: 8261

Re: SELECT command

Can you describe your problem more detailed so that we can provide specific help for you.
by mabel
Wed Jun 07, 2017 4:25 am
Forum: Questions & Answers
Topic: Key Diversification Data
Replies: 2
Views: 6472

Re: Key Diversification Data

AFAIK, key diversification data is used to derive the card static keys, not the session keys. So basically, it's to some extent a standard known only by the Card Issuer.
by mabel
Sat May 27, 2017 5:31 am
Forum: Questions & Answers
Topic: How to get mulitiple certificates from the applet
Replies: 4
Views: 8618

Re: How to get mulitiple certificates from the applet

To solve your problem, you can use tags : 0x0100 for cert1, 0x0101 for cert2, 0x0102 for cert3.

These would be passed in to PUT DATA and GET DATA to indicate which certificate is required.
Then you can retrieve any cert according to your need.
by mabel
Wed May 24, 2017 10:21 pm
Forum: Questions & Answers
Topic: Looking for APDU command to Change card ATR
Replies: 4
Views: 9827

Re: Looking for APDU command to Change card ATR

The historical bytes can be changed by javacard API.
by mabel
Tue May 23, 2017 5:58 am
Forum: Questions & Answers
Topic: Looking for APDU command to Change card ATR
Replies: 4
Views: 9827

Re: Looking for APDU command to Change card ATR

I'm afraid no general APDU command can help you do that.
by mabel
Tue May 23, 2017 5:55 am
Forum: Questions & Answers
Topic: A strange issue about JavaCard version
Replies: 2
Views: 6141

Re: A strange issue about JavaCard version

0x6D00 indicates that the INS value is not supported.

I guess that this INS value is supported by JavaCard2.1.1, and it doesnot work on JavaCard2.2.2.

Anyway, it is hard to tell without seeing example code.
by mabel
Fri May 12, 2017 5:34 am
Forum: Questions & Answers
Topic: Random Data Genaration
Replies: 3
Views: 8953

Re: Random Data Genaration

I didn't find out any question in your code. You can try to use this code to check if this can work. private byte[] rnd; private RandomData randomData; static final short RND_LENGTH = 32; public LicenseApplet() { randomData = RandomData.getInstance(RandomData.ALG_PSEUDO_RANDOM); rnd = JCSystem.makeT...
by mabel
Thu May 11, 2017 10:19 pm
Forum: Questions & Answers
Topic: Find document about java card that is easier to read
Replies: 1
Views: 5125

Re: Find document about java card that is easier to read

For beginners, the ISO specifications are indeed difficult and abstract.

You can selectively read the standard.

For example, just read the APDU(CLA, INS, P1, P2,LC, data, Le), logical channel and secure domain firstly.
Then read the corresponding part when you need.
by mabel
Fri May 05, 2017 4:38 am
Forum: Questions & Answers
Topic: How to create AES keys
Replies: 2
Views: 6630

Re: How to create AES keys

FYI

Code: Select all

AESKey key = (AESKey) KeyBuilder.buildKey(KeyBuilder.TYPE_AES,KeyBuilder.LENGTH_AES_128,false);

key.setKey(randomDataof128bitLength,(short)0);
JavaCard OS : Disclaimer