JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

Search found 7 matches: re:

Searched query: re

by Liguwu
Tue Aug 15, 2017 5:22 am
Forum: Questions & Answers
Topic: ERROR INFO: Transaction failed? Why?
Replies: 3
Views: 11605

Re: ERROR INFO: Transaction failed? Why?

chico0609 wrote:Tips:
1. You shouldn't call apdu.setIncomingAndReceive() systematically, as it will process P3 an an incoming data length (Lc).
2. You are calling setOutgingLength() inside a loop, it will result in an APDUException with ILLEGAL_USE reason .


Thank you so much for your useful suggestion.
by Liguwu
Tue Aug 15, 2017 5:22 am
Forum: Questions & Answers
Topic: ERROR INFO: Transaction failed? Why?
Replies: 3
Views: 11605

Re: ERROR INFO: Transaction failed? Why?

If I add the "else case", it works without any problem. if (array[i] != (byte)0) { apdu.setOutgoingLength((short)2); Util.setShort(buf, (short)0, i); apdu.sendBytes((short)0, (short)2); } else { apdu.setOutgoingLength((short)1); apdu.sendBytes((short)0, (short)1); }
by Liguwu
Thu Nov 10, 2016 3:39 am
Forum: Card Products
Topic: Are there two chips for dual interface cards?
Replies: 2
Views: 10159

Re: Are there two chips for dual interface cards?

To all my knowledge, almost all the dual cards in the market are single chip cards. I don't think it's necessary to make two chips in the card.
by Liguwu
Wed Jul 13, 2016 6:09 am
Forum: Questions & Answers
Topic: Experiencing 6F00 when calling one method many times
Replies: 3
Views: 11881

Re: Experiencing 6F00 when calling one method many times

That error may be due to out of memory.
by Liguwu
Wed Jul 13, 2016 5:32 am
Forum: Questions & Answers
Topic: Release the memory in my applet
Replies: 1
Views: 7389

Re: Release the memory in my applet

It depends on your implementation. You can just mark the file as deleted and return the appropriate error if someone tries to access it.
by Liguwu
Tue May 24, 2016 11:42 pm
Forum: Algorithm School
Topic: something wrong with TDES to encrypt data
Replies: 2
Views: 9130

Re: something wrong with TDES to encrypt data

Hi there! I have solved this problem. You really saved my day! Thanks so much
by Liguwu
Fri Apr 15, 2016 3:36 am
Forum: Questions & Answers
Topic: applet component
Replies: 3
Views: 10335

Re: applet component

FYI struct AppletInfo{ char AID_length; char AID[]; //size = AID_length }; struct AppletComponent{ char Tag; short int Size; char Count; AppletInfo Applets[]; }; AppletInfo* NextApplet(AppletInfo* Applet){ return (AppletInfo*)&Applet->AID[Applet->AID_length]; } int _tmain(int argc, _TCHAR* argv[...
JavaCard OS : Disclaimer