JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Search found 10 matches
- Thu Sep 07, 2017 11:03 pm
- Forum: Questions & Answers
- Topic: Are stubs necessary for remote_ref_with_interfaces
- Replies: 0
- Views: 6945
Are stubs necessary for remote_ref_with_interfaces
The Java Card RMI Client framework requires stubs only when the remote_ref_with_class format is used for passing remote references. These stubs of remote classes of applets must be pr-generated and available on the client.When the remote_ref_with_interfaces format is used, stubs are not necessary C...
- Tue Aug 15, 2017 5:22 am
- Forum: Questions & Answers
- Topic: ERROR INFO: Transaction failed? Why?
- Replies: 3
- Views: 11337
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.
- Tue Aug 15, 2017 5:22 am
- Forum: Questions & Answers
- Topic: ERROR INFO: Transaction failed? Why?
- Replies: 3
- Views: 11337
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); }
- Tue Aug 15, 2017 1:50 am
- Forum: Questions & Answers
- Topic: ERROR INFO: Transaction failed? Why?
- Replies: 3
- Views: 11337
ERROR INFO: Transaction failed? Why?
I have a problem with my applet. When I sent the command 0x10 40 00 00 01 01 02, it's expected to get 9000. But in fact,I got " Transaction failed. " . And I tried to find the where caused this problem, but got nothing. Could anyone give me a pointeror a clue? Thanks a lot. The whole code ...
- Thu Nov 10, 2016 3:39 am
- Forum: Card Products
- Topic: Are there two chips for dual interface cards?
- Replies: 2
- Views: 9860
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.
- Wed Jul 13, 2016 6:09 am
- Forum: Questions & Answers
- Topic: Experiencing 6F00 when calling one method many times
- Replies: 3
- Views: 11586
Re: Experiencing 6F00 when calling one method many times
That error may be due to out of memory.
- Wed Jul 13, 2016 5:32 am
- Forum: Questions & Answers
- Topic: Release the memory in my applet
- Replies: 1
- Views: 7267
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.
- Tue May 24, 2016 11:42 pm
- Forum: Algorithm School
- Topic: something wrong with TDES to encrypt data
- Replies: 2
- Views: 8909
Re: something wrong with TDES to encrypt data
Hi there! I have solved this problem. You really saved my day! Thanks so much
- Tue May 24, 2016 1:47 am
- Forum: Algorithm School
- Topic: something wrong with TDES to encrypt data
- Replies: 2
- Views: 8909
something wrong with TDES to encrypt data
Recently, I have completed an applet, in which I use TDES to encrypt data. But now I am stuck with a problem that I could not pass dofinal function. Can anyone point what happened? public void Encrypt3DES_CBC() { byte [] keydata = {(byte)0x11,(byte)0x11,(byte)0x11,(byte)0x11,(byte)0x11,(byte)0x11,(b...
- Fri Apr 15, 2016 3:36 am
- Forum: Questions & Answers
- Topic: applet component
- Replies: 3
- Views: 10035
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[...