Search found 7 matches

by Neqikoo
Sun Jun 18, 2017 10:52 pm
Forum: Questions & Answers
Topic: How to send int
Replies: 1
Views: 518

How to send int

In my applet, there are some int variable. And I want to send these int variable. But I don't know how. How can I send int variable? I only know how to send bytes. private void mySend(APDU apdu) { byte[] buffer = apdu.getBuffer(); apdu.setOutgoing(); short totalBytes = (short) out.length; apdu.setOu...
by Neqikoo
Fri Mar 10, 2017 8:46 am
Forum: Algorithm School
Topic: DES encryption with data length 132 byte
Replies: 2
Views: 728

Re: DES encryption with data length 132 byte

Under javacard implementation, the padding is done transparently so it can be block-aligned automatically. You don't need to worry about data length.
by Neqikoo
Fri Nov 11, 2016 5:01 am
Forum: Questions & Answers
Topic: bArray in JCRE
Replies: 3
Views: 814

Re: bArray in JCRE

The bArray buffer for install method is the APDU buffer from the call to INSTALL. Usually it's 261 bytes.
by Neqikoo
Tue Jun 21, 2016 1:24 am
Forum: Questions & Answers
Topic: two applets under two different Security Domains
Replies: 1
Views: 593

two applets under two different Security Domains

Hey.
I have two applets which are under two different Security Domains.
Is it possible to communicate with each other by using classic shareable interface methods?
by Neqikoo
Thu May 05, 2016 8:15 am
Forum: Questions & Answers
Topic: when is application in "INSTALLED" state?
Replies: 2
Views: 674

Re: when is application in "INSTALLED" state?

Just in my opinion, after INSTALL [for install] succeed, application was changed to INSTALLED state. And then you can use SELECT command to change its state to SELECTABLE.
by Neqikoo
Sat Mar 19, 2016 4:28 am
Forum: Questions & Answers
Topic: Is it possible to change default set of three keys - 0x4041....4F
Replies: 1
Views: 666

Is it possible to change default set of three keys - 0x4041....4F

I have already read Global platform Card Specification v2.2.2 and I learned that the secure channel SCP02 is initiated using default set of three keys - 0x4041....4F. Is it possible to change this default security domains keys to another value? Or this default keys cannot be deleted and I can only u...
by Neqikoo
Thu Feb 25, 2016 3:56 am
Forum: Card Products
Topic: How do I know the type of the card?
Replies: 2
Views: 1101

How do I know the type of the card?

Does somebody know the ways to check if a blank card is a java card Moltus or a native card or a memory card? I have a white card, but I know nothing abt the card but ATR.
3B FE 18 00 00 80 31 FE 45 80 31 80 66 40 90 A4 16 2A 10 83 01 90 00 F1

How can I know the type of the card?
JavaCard OS : Disclaimer