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

by Tarantino
Wed Dec 14, 2016 11:15 pm
Forum: Applets Development Guide
Topic: epaasportdemo.bat tool
Replies: 8
Views: 3077

Re: epaasportdemo.bat tool

Here is a tool to read epassport. Can this tool satisfy your need?
viewtopic.php?f=25&t=37
by Tarantino
Wed Dec 07, 2016 3:00 am
Forum: Questions & Answers
Topic: pyApduTool Not Found
Replies: 3
Views: 1174

Re: pyApduTool Not Found

It seems that the JCIDE installation has encountered some problem. You might need to re-install JCKit.
https://www.javacardos.com/tools/
by Tarantino
Tue Nov 08, 2016 3:42 am
Forum: Algorithm School
Topic: ECDSA Issue
Replies: 4
Views: 1525

Re: ECDSA Issue

Use ALG_EC_F2M instead.
by Tarantino
Tue Nov 08, 2016 3:21 am
Forum: User Guide
Topic: Some tips for JCIDE - JCIDE Debugger
Replies: 5
Views: 3132

Re: Some tips for JCIDE - JCIDE Debugger

If you use T=0 protocol, you need to add apdu.setIncomingAndReceive() in your code. "This method gets as many bytes as will fit without buffer overflow in the APDU buffer following the header. It gets all the incoming bytes if they fit." ... private void verify(APDU apdu){ byte[] buffer = ...
by Tarantino
Sat Nov 05, 2016 4:57 am
Forum: Questions & Answers
Topic: How to send an array byte[] with shareable method
Replies: 3
Views: 1290

Re: How to send an array byte[] with shareable method

You can only pass a global buffer through an SIO call. The only global buffer you have access to is the APDU buffer. Your SIO should take a buffer as a parameter (as per the JCRE API calls) that you give an offset to copy to as a second parameter. Then return the length of the data copied from your ...
by Tarantino
Sat Nov 05, 2016 4:03 am
Forum: Questions & Answers
Topic: How to send an array byte[] with shareable method
Replies: 3
Views: 1290

Re: How to send an array byte[] with shareable method

Did you do something for this problem by yourself?
by Tarantino
Tue Oct 18, 2016 4:46 am
Forum: Algorithm School
Topic: How to get hash of message
Replies: 2
Views: 1264

Re: How to get hash of message

MessageDigest.getInstance exception:
Throws:
CryptoException - with the following reason codes:
CryptoException.NO_SUCH_ALGORITHM if the requested algorithm or shared access mode is not supported.

So, you should make sure that that your card supports SHA.
by Tarantino
Mon Oct 17, 2016 4:48 am
Forum: Questions & Answers
Topic: card manager state from OP_READY to PERSONALIZED
Replies: 2
Views: 1201

Re: card manager state from OP_READY to PERSONALIZED

You should upload keys to Security Domain by PUT KEY commands.
Transition to PERSONALIZED state will be performed automatically.
by Tarantino
Mon Oct 10, 2016 5:52 am
Forum: Questions & Answers
Topic: Lock applet on card power transitions
Replies: 3
Views: 1390

Re: Lock applet on card power transitions

Yes, it would also respond to a warm reset.
JavaCard OS : Disclaimer