Search found 237 matches
- Thu Feb 25, 2016 11:47 pm
- Forum: Questions & Answers
- Topic: Code sharing between applets
- Replies: 1
- Views: 5043
Re: Code sharing between applets
Let me give you a clear thinking: - Create new Class, but don't extend Applet, let it called Library Class. - Generate jar, exp and cap of this library class. Case example: - You can have 2 applet, for example Applet A & B. - Applet A can use the API (common code/method) from the Library Class b...
- Thu Feb 25, 2016 11:30 pm
- Forum: Questions & Answers
- Topic: Inform an applet of the deselection of another applet
- Replies: 1
- Views: 4479
Re: Inform an applet of the deselection of another applet
Are your two applets in the same package or in the separate package?
- Thu Feb 25, 2016 11:17 pm
- Forum: Questions & Answers
- Topic: Get 6C80 in the response APDU
- Replies: 1
- Views: 4781
Re: Get 6C80 in the response APDU
From your code, it looks like you are copying the input data into cardMetaData buffer and copying back to the global buffer. And last line in your function 'updateCardMetaData' you are trying to return the length bytes of data(128B) which is why you are getting 0x6C80. If you don't expect any data i...
- Wed Feb 24, 2016 10:17 pm
- Forum: Applets Development Guide
- Topic: Video Tutorial - How to download CAP file to smart card?
- Replies: 36
- Views: 249788
Re: How to download CAP file to smart card?
What should the three keys be set to? The three keys you set should be as same as the keys of your java cards. As per GP specification said, the three keys of cards are 404142434445464748494A4B4C4D4E4F by default. You can set the keys via pyAPDUTool. Switch to "Util" tab and select "...
- Tue Feb 23, 2016 1:47 am
- Forum: Card Products
- Topic: Looking for a java card the full ATR of which can be changeable
- Replies: 3
- Views: 8438
Re: Looking for a java card the full ATR of which can be changeable
Please note that all you can change are the "Historical Bytes". The first (I think) 6 bytes are hardware settings. Trying to change those *will* brick your card. As @ ThePhoenyx said, You can only change the historical bytes via a default selected application. There is no way to change th...
- Tue Feb 23, 2016 1:31 am
- Forum: Questions & Answers
- Topic: Load mifare application to dual interface java card
- Replies: 3
- Views: 8163
Re: Load mifare application to dual interface java card
Could you please tell us more about your applet? And on which interface are you trying to communicate with the card? contact or contactless?
- Wed Feb 17, 2016 2:52 am
- Forum: Questions & Answers
- Topic: Return 6985 when deleting package on card
- Replies: 2
- Views: 7363
Re: Return 6985 when deleting package on card
Could you please show us your "DELETE" APDU command? I think that your command may have something wrong.
- Mon Feb 15, 2016 2:22 am
- Forum: Questions & Answers
- Topic: Memory on java card
- Replies: 1
- Views: 5633
Re: Memory on java card
You can't know the exact value because it depends on how the card is implemented internally. Usually it's a tiny bit smaller than the size of load block.
- Tue Feb 09, 2016 7:43 am
- Forum: Algorithm School
- Topic: RSA in java card
- Replies: 1
- Views: 7889
Re: RSA in java card
Maybe the code below will be helpful to you. public RSAEncDec(byte[] bArray,short bOffset,byte bLength){ outbuffer = new byte[128]; inbuffer = new byte[64]; cipherENC = Cipher.getInstance(Cipher.ALG_RSA_PKCS1, false); cipherDEC = Cipher.getInstance(Cipher.ALG_RSA_PKCS1, false); rsaPrivateKey = (RSAP...
- Wed Jan 27, 2016 9:51 pm
- Forum: Algorithm School
- Topic: CHIP CLONING
- Replies: 4
- Views: 11981
Re: CHIP CLONING
johnaugust wrote:With the tools available is it possible to clone a DDA/SDA card if yes then what are the tools required for this.
Hi there!
If appropriate, could you tell me what is your purpose of cloning the card?