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 15 matches

by Erisaron
Thu Mar 15, 2018 5:15 am
Forum: pyResMan
Topic: Pyresman is not working under winXP
Replies: 6
Views: 3834

Re: Pyresman is not working under winXP

Maybe you can try to move pyResMan.exe to a path that is not in desktop
by Erisaron
Wed Feb 15, 2017 1:56 am
Forum: Questions & Answers
Topic: How to implement an secure applet
Replies: 3
Views: 1173

Re: How to implement an secure applet

Thank you very much for all the help. It has enlightened me a lot.
by Erisaron
Mon Feb 13, 2017 4:20 am
Forum: Questions & Answers
Topic: How to implement an secure applet
Replies: 3
Views: 1173

How to implement an secure applet

At present, we are concerned more about the usage of javacard api and other technical points. As for the overall design of a safe applet, there is little discussion. The currently known security policies are as follows:      1. APDU encryption and decryption      2. APDU + MAC      3. Internal and E...
by Erisaron
Sun Oct 09, 2016 4:39 am
Forum: Questions & Answers
Topic: How to diversify the KMC
Replies: 3
Views: 1139

Re: How to diversify the KMC

Thanks for your help. I see.

And I still have a problem. When checking EMV CPS 1.1 document, I found 2 terms
Key Diversification Data and Key Derivation Data

Do the two terms have the same meaning?
by Erisaron
Sat Oct 08, 2016 11:19 pm
Forum: Questions & Answers
Topic: How to diversify the KMC
Replies: 3
Views: 1139

How to diversify the KMC

Could anyone tell me how to diversify the KMC which complies to EMV CPS v1.1 using Key Derivation Data? Afaik, the key diversification needs to use Key Derivation Data. Assume that KMC is ENC Key = 101112131415161718191A1B1C1D1E1F MAC Key = 202122232425262728292A2B2C2D2E2F DEK Key = 3031323334353637...
by Erisaron
Wed Mar 02, 2016 8:11 am
Forum: Questions & Answers
Topic: How to create a method to store transactions logs in java card
Replies: 2
Views: 850

Re: How to create a method to store transactions logs in java card

Just create a byte[] with the size that equals to the transactions size and then store data into that array by TLV and decode it using the TLV when receiving on host side.
by Erisaron
Wed Jan 06, 2016 2:40 am
Forum: Questions & Answers
Topic: Get false when locking my card
Replies: 1
Views: 714

Get false when locking my card

When I call API GPSystem.lockCard() to lock my real card- A22CR, it always return false! I also do it on simulator, I get the same result. Any help?

Note: My card lib- Java Card 2.2.2 and Global Platform 2.1.1
Tool- JCKit 1.0.5.37
by Erisaron
Mon Dec 21, 2015 4:42 am
Forum: Card Products
Topic: How to read smart card certificate with Javascript
Replies: 1
Views: 2503

How to read smart card certificate with Javascript

I want to know if it is possible to read smart card certificate with Javascript. I found that node.js would be a good solution. But how would it work with smart card? Could anyone tell me more details?
by Erisaron
Tue Dec 08, 2015 6:04 am
Forum: Questions & Answers
Topic: My program returns 6F 00:No precise diagnosis, why?
Replies: 1
Views: 977

My program returns 6F 00:No precise diagnosis, why?

I downloaded a part of java card program from the web. But I have a question when debugging this program in JCIDE. Here is the code. package fileSigner; import javacard.framework.*; import javacard.security.KeyPair; import javacard.security.RSAPrivateKey; import javacard.security.RSAPublicKey; impor...
by Erisaron
Sat Dec 05, 2015 4:24 am
Forum: Questions & Answers
Topic: How to make integer variable on JavaCard 2.2.2?
Replies: 4
Views: 1473

How to make integer variable on JavaCard 2.2.2?

As far as I know, there is no integer variable on JavaCard 2.2.2. Am I right? I am developing an applet which needs int variable and four basic arithmetic operations + - * / . I want to know how to make the int variable and process the four basic arithmetic operations. Any help? I am much appreciated!
JavaCard OS : Disclaimer