Search found 161 matches
- Tue May 07, 2019 7:23 am
- Forum: Algorithm School
- Topic: ECDSA (secp256k1) Signature Verification Fails
- Replies: 2
- Views: 34661
Re: ECDSA (secp256k1) Signature Verification Fails
Firstly, what is this ? SecP256K1.newKeyPair() and how did you derive that ? This is not a default JavaCard API and it seems like some class you made or you imported. We will need more information on that if you can comfortably provide it. This seems to be crucial as it determines how the SECP-256K1...
- Tue Apr 30, 2019 2:54 am
- Forum: Questions & Answers
- Topic: How to get object working over Shareable Interface
- Replies: 1
- Views: 7888
Re: How to get object working over Shareable Interface
Solved by passing the output byte array using the APDU buffer. Why does the APDU buffer work ? Because it is the default global byte array buffer that is allowed to cross between the applet firewall by the JCRE and thus is a natural candidate. APDU buffer also has the advantage of the JCRE automatic...
- Mon Apr 29, 2019 4:51 am
- Forum: Questions & Answers
- Topic: How to get object working over Shareable Interface
- Replies: 1
- Views: 7888
How to get object working over Shareable Interface
We have the classical setup of two applets and a Shareable Interface used by both of them. Shareable Inteface: package API; import javacard.framework.Shareable; public interface API extends Shareable { public void getArray(byte[] output, short off, short len); } Server Applet: package ShareableSampl...
- Fri Mar 15, 2019 7:48 am
- Forum: Card Products
- Topic: C++ programmable smartcard
- Replies: 1
- Views: 23356
Re: C++ programmable smartcard
C based programmable smart cards are highly limited as 95% of the cards available in the industry is made up of JavaCard. You are better off using JavaCard as JavaCard is the industry standard for smart cards and almost every specification for card systems these days seems to revolve around JavaCard...
- Tue Mar 12, 2019 11:20 pm
- Forum: Questions & Answers
- Topic: JC 3.1
- Replies: 5
- Views: 20874
Re: JC 3.1
Table - New Features in Java Card API Specification New Feature...........|.....Description ------------------------------------------------------------------- AES ciphering modes.....................Added support for AES-CFB mode for stream ciphering and AES-XTS mode for secure storage. -----------...
- Tue Mar 12, 2019 11:06 pm
- Forum: Questions & Answers
- Topic: JC 3.1
- Replies: 5
- Views: 20874
JC 3.1
Oracle has recently released JavaCard version 3.1.
JC 3.1 Main Website: https://docs.oracle.com/en/java/javacard/3.1/index.html
JC 3.1 API: https://docs.oracle.com/en/java/javacar ... index.html
Enjoy !!!
JC 3.1 Main Website: https://docs.oracle.com/en/java/javacard/3.1/index.html
JC 3.1 API: https://docs.oracle.com/en/java/javacar ... index.html
Enjoy !!!
- Thu Feb 07, 2019 11:14 am
- Forum: Questions & Answers
- Topic: SAM Card Decompile
- Replies: 1
- Views: 6600
Re: SAM Card Decompile
If the SAM card already contains an applet, you will NOT be able to extract the applet codes and data from the SAM card. It is very insecure to allow extraction of code from a SAM/SIM/Smart card so this option is definitely not available at all. The SAM card's purpose is to prevent cloning so the an...
- Tue Jan 29, 2019 6:31 am
- Forum: Algorithm School
- Topic: Is there a good way to implement an AES-CMAC encryption on Java Cards?
- Replies: 4
- Views: 25119
Re: Is there a good way to implement an AES-CMAC encryption on Java Cards?
Signature.ALG_AES_CMAC_128 is only available from JC 3.0.5 and up.
If you want to implement it yourself, please look at this old forum thread which contains one of our member's source code (https://javacardos.com/javacardforum/vi ... php?t=1114).
If you want to implement it yourself, please look at this old forum thread which contains one of our member's source code (https://javacardos.com/javacardforum/vi ... php?t=1114).
- Tue Jan 29, 2019 6:16 am
- Forum: Applets Development Guide
- Topic: Combine two byte array and encrypt them togethor
- Replies: 2
- Views: 34233
Re: Combine two byte array and encrypt them togethor
Just adding additional points which @owlstead has done a good job in pointing. Here's a couple of extra problems I noticed in the OP's source code. byte [] buffer = new byte [32]; buffer = apdu.getBuffer(); Do you know that by doing that, you will create a persistent memory object with a 32 byte byt...
- Tue Jan 22, 2019 7:52 am
- Forum: Shopping FAQ
- Topic: Feitian JuBiter Blade
- Replies: 3
- Views: 27929
Re: Feitian JuBiter Blade
Is there any programming API to create applets for the JuBiter card ?