Search found 13 matches

by hosseinpro
Tue Nov 13, 2018 4:32 pm
Forum: Algorithm School
Topic: Problem with ECC
Replies: 5
Views: 931

Re: Problem with ECC

How do you solve the problem?
by hosseinpro
Thu Aug 09, 2018 1:04 am
Forum: Other Tools
Topic: jCardSim as Javacard Applet debugger
Replies: 3
Views: 1745

Re: jCardSim as Javacard Applet debugger

How can I run jCardSim in Eclipse?
by hosseinpro
Thu Aug 09, 2018 1:00 am
Forum: Questions & Answers
Topic: ALG_EC_SVDP_DH_PLAIN in the simulator
Replies: 5
Views: 723

Re: ALG_EC_SVDP_DH_PLAIN in the simulator

How can I run jCardSim in Eclipse?
by hosseinpro
Thu Aug 09, 2018 12:59 am
Forum: Questions & Answers
Topic: ALG_EC_SVDP_DH_PLAIN in the simulator
Replies: 5
Views: 723

Re: ALG_EC_SVDP_DH_PLAIN in the simulator

How can I run jCardSim in Eclipse?
by hosseinpro
Thu Aug 09, 2018 12:59 am
Forum: Questions & Answers
Topic: ALG_EC_SVDP_DH_PLAIN in the simulator
Replies: 5
Views: 723

Re: ALG_EC_SVDP_DH_PLAIN in the simulator

How can I run jCardSim in Eclipse for debugging?
by hosseinpro
Wed Aug 08, 2018 3:48 am
Forum: Questions & Answers
Topic: ALG_EC_SVDP_DH_PLAIN in the simulator
Replies: 5
Views: 723

Re: ALG_EC_SVDP_DH_PLAIN in the simulator

This is my code and I got No_Such_ALGORITHM exception. private KeyAgreement ecdh; public MyApplet() { try{ ecdh = KeyAgreement.getInstance(KeyAgreement.ALG_EC_SVDP_DH_PLAIN, false); } catch(CryptoException e){ if(e.getReason() == CryptoException.NO_SUCH_ALGORITHM){ ecdh = null; } else{ throw e; } } }
by hosseinpro
Wed Aug 08, 2018 3:05 am
Forum: Questions & Answers
Topic: ALG_EC_SVDP_DH_PLAIN in the simulator
Replies: 5
Views: 723

ALG_EC_SVDP_DH_PLAIN in the simulator

Hi I want to test my applet which uses ALG_EC_SVDP_DH_PLAIN supported from JavaCard 3.0.1. I selected Java card kit 3.0.4 in JCIDE and it compiles my code successfully. But when I run my code in JCIDE Simulator, it returns error and does not support ALG_EC_SVDP_DH_PLAIN. Does JCIDE simulator support...
by hosseinpro
Fri Jul 21, 2017 3:37 pm
Forum: Questions & Answers
Topic: Error 6881 in SmartCafe Expert 6 for Extended APDU
Replies: 2
Views: 560

Re: Error 6881 in SmartCafe Expert 6 for Extended APDU

I tested various cases and I found that SmartCafe works until 510 byte data as extended length.
But if I send 1 more byte it returns 6881.
Why?
by hosseinpro
Fri Jul 21, 2017 3:21 pm
Forum: Questions & Answers
Topic: Error 6881 in SmartCafe Expert 6 for Extended APDU
Replies: 2
Views: 560

Error 6881 in SmartCafe Expert 6 for Extended APDU

Hi I use extended length APDU in my applet and tested it in three different cards including J3A081, JavaCOS A22 and SmartCafe Expert 6.0. Everything is ok in first two cards but in SmartCafe I get error 6881. In addition, I compiled my applet for JavaCard 2.2.2 and first two cards are 2.2.2 but Smar...
by hosseinpro
Tue Jul 18, 2017 9:45 am
Forum: Questions & Answers
Topic: Exceptions doesn't work in Extended Length APDU
Replies: 3
Views: 558

Re: Exceptions doesn't work in Extended Length APDU

I use Java card Emulator, so I changed the protocol to T1 and it works without any change!

Thanx
JavaCard OS : Disclaimer