The exclusive promotional activities on JCOP J3H145 card and Feitian R301 Smartcard Reader are in full swing. Please check this page for details.

Search found 237 matches

by mabel
Thu Dec 31, 2015 1:39 am
Forum: Card Products
Topic: How to do a DAP verification during uploading a CAP file
Replies: 1
Views: 749

Re: How to do a DAP verification during uploading a CAP file

You need to set appropriate privilege during Installation process of security domain.
DAP verification keys are also need to be put in security domain which will verify the DAP.
DAP Keys can be of RSA or DES and must be put with a specific key version.
by mabel
Thu Dec 31, 2015 1:34 am
Forum: Algorithm School
Topic: Card throws an exception thrown when loading the signature on the card
Replies: 1
Views: 735

Re: Card throws an exception thrown when loading the signature on the card

If the pinSig value is always 64 bytes long, you should use the following implementation.

Code: Select all

public void setpinSig( byte[] sig)
{
        javacard.framework.Util.arrayCopy(sig, (short) 0,
        pinSig, (short) 0, (short) 64);
}
by mabel
Thu Dec 31, 2015 1:21 am
Forum: Card Products
Topic: How to know applet's AID without using GET STATUS command?
Replies: 1
Views: 782

Re: How to know applet's AID without using GET STATUS command?

Use SELECT by NAME APDU to try out the possible AID. Apart from this, there is no way to know the applet-AID without using GET STATUS command.
by mabel
Wed Dec 30, 2015 11:00 pm
Forum: Questions & Answers
Topic: How to read and write value into smart card
Replies: 1
Views: 823

Re: How to read and write value into smart card

Any state in EEPROM fields will be kept until the Applet instance is deleted. The same goes for state within non-transient array elements. You need to retain a persistent reference to the array for your goal. Basically all object instances live in persistent memory, this means any object instance cr...
by mabel
Mon Dec 28, 2015 3:12 am
Forum: Card Products
Topic: card returns "6A 88" after sending Get Data command
Replies: 2
Views: 1106

Re: card returns "6A 88" after sending Get Data command

For these data you mentioned, probably ISD doesn't do the personalized operation.
by mabel
Mon Dec 28, 2015 2:57 am
Forum: Questions & Answers
Topic: For javacard, how to log data in the card.
Replies: 2
Views: 763

Re: For javacard, how to log data in the card.

I wonder how javacard logs data in the card. Does it need an applet to do this? Another question is how I can read the log events after transactions. Anyone knows? Hi, If a Java Card applet logs data in the card, it's certain that applet's programmer designs the logging mechanism. There is no stand...
by mabel
Mon Dec 21, 2015 1:53 am
Forum: Card Products
Topic: What are secure channel keys in java card used to do?
Replies: 1
Views: 1288

Re: What are secure channel keys in java card used to do?

As I found by google, ENC stands for Encryption, MAC stands for Message Authentication Code and DEK stands for Data Encryption Key. I want to know when these three secure channel keys are used. What are they used to do? Are all these keys used in every communication step? Here are part of descripti...
by mabel
Sun Dec 20, 2015 10:50 pm
Forum: Questions & Answers
Topic: Why did my applet can not throw exception?
Replies: 1
Views: 718

Re: Why did my applet can not throw exception?

Your problem is with the status word used.

The exception status word must conform to the 7816 specification.
ISO7816-4 said that:
any value different from '6XXX' and '9XXX' is invalid; any value '60XX' is also invalid.


So try a few in the 61xx ranges. Hope it helps!
by mabel
Sun Dec 20, 2015 10:23 pm
Forum: Questions & Answers
Topic: Why does my java card return sw=0x6A80?
Replies: 1
Views: 673

Re: Why does my java card return sw=0x6A80?

Probably, it's because the package you wanna download to the card depends on another package. You should download the depended package first.
by mabel
Wed Dec 16, 2015 2:30 am
Forum: Card Products
Topic: Qs about MANAGE CHANNEL Command
Replies: 1
Views: 631

Re: Qs about MANAGE CHANNEL Command

A2: As far as I know, SELECT is defined to be an alternative for opening a logical channel
JavaCard OS : Disclaimer