In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

Search found 112 matches

by tay00000
Tue Aug 22, 2017 10:00 pm
Forum: Open Source Applets
Topic: Smart Card Gids Applet
Replies: 12
Views: 3450

Re: Smart Card Gids Applet

OpenSC is a framework and requires developers to write plugins to submit to OpenSC to include into their toolkits and libraries. From OpenSC's Github source codes, it seems that GIDS support over PKCS15 is available. Which flavour of GIDS applet are you using ? Which card are you using ? Do provide ...
by tay00000
Mon Aug 07, 2017 9:44 pm
Forum: Applets Development Guide
Topic: Random number generator
Replies: 2
Views: 831

Re: Random number generator

Your attempt to call ALG_TRNG is technically correct in the sense that is JC 3.0.5 specification API. The thing is if your card does not support JC 3.0.5, you are better off using ALG_SECURE_RANDOM and ALG_PSEUDO_RANDOM which is in the JC 2.2.X version of the API. Also note that ALG_SECURE_RANDOM an...
by tay00000
Tue Aug 01, 2017 8:59 pm
Forum: Questions & Answers
Topic: A client application
Replies: 3
Views: 565

Re: A client application

A short list of host machine (PC computer/server) of possibilities to choose from: ⋅ com.sun.javacard.apduio (Java with Sun package which maybe subjected to depreciation) ⋅ javax.smartcardio (Java - the defacto API) ⋅ OCF (Java) ⋅ jnasmartcardio (Java - altern...
by tay00000
Tue Jul 18, 2017 7:54 am
Forum: Questions & Answers
Topic: CLA byte of the select APDU command
Replies: 2
Views: 355

Re: CLA byte of the select APDU command

Which card are you using when you do CLA = (byte) 0xBC ?

I have used CLA = (byte) 0xBC and CLA = (byte) 0xB0 and have never hit any problems on NXP JCOP, Feitian cards or any other cards for now.
by tay00000
Fri Jul 14, 2017 9:13 pm
Forum: Card Products
Topic: Enhancing security and authenticity on JavaCardOS offered products
Replies: 0
Views: 542

Enhancing security and authenticity on JavaCardOS offered products

I would like to recommend a value-add for all JavaCard manufacturers to consider implementation on all it's cards to enhance security and authenticity of applets deployed on the cards. Attesting to whether a symmetric or asymmetric key is generated on a particular card is difficult as there is no me...
by tay00000
Mon Jul 10, 2017 10:41 am
Forum: Questions & Answers
Topic: Directory Tree of Java Card Filesystem
Replies: 4
Views: 630

Re: Directory Tree of Java Card Filesystem

Here are some quotes from the JavaCard Applet Developer Guide written by Sun: Support for ISO 7816-4 files is provided by the javacardx.framework package. This is an extension package to the core javacard.* classes which may not be implemented on all Java Card platforms. In essence, you have to impl...
by tay00000
Tue Jul 04, 2017 6:52 am
Forum: Algorithm School
Topic: DES Encryption
Replies: 1
Views: 418

Re: DES Encryption

Please catch and throw a proper exception. 0x6066 is your own exception code and not the standard defined ISO7816 exception codes.

Please modify your catching of exception by throwing a proper ISO7816 standardized exception otherwise it is very hard to debug.
by tay00000
Sun Jul 02, 2017 9:50 am
Forum: Shopping FAQ
Topic: Java card supporting RSA4096
Replies: 4
Views: 1089

Re: Java card supporting RSA4096

You have very very limited option if you want RSA-4096 bit operations. Here is the only one (but very hard to obtain) hardware that supports JavaCard and 4096-bit RSA. I wish you good luck and all the best attempting to obtain these hardware as thee company is known to be very picky on their custome...
by tay00000
Sun Jul 02, 2017 9:17 am
Forum: Questions & Answers
Topic: javax.crypto.BadPaddingException
Replies: 4
Views: 755

Re: javax.crypto.BadPaddingException

I noticed some possible programming flaws: // In the constructor: ... RSACipher = Cipher.getInstance(Cipher.ALG_RSA_PKCS1,false); ... //In the process method: ... buffer = apdu.getBuffer(); byte [] buf = null; // <----- buf variable is null, what is it used for ?? // Get the encoded message short nu...
by tay00000
Thu Jun 15, 2017 8:25 pm
Forum: Questions & Answers
Topic: Error 0x643A when installing applet on ACOSJ card
Replies: 7
Views: 828

Re: Error 0x643A when installing applet on ACOSJ card

Before you continue to attempt to install anymore applet, list the contents of the card first to ensure there is really nothing in the card. After you have listed and ensured that no contents are residing in the card, then you start to load the test applet you have recently created. In order to faci...
JavaCard OS : Disclaimer