Search found 135 matches: re:
Searched query: re
- Mon Aug 07, 2017 9:44 pm
- Forum: Applets Development Guide
- Topic: Random number generator
- Replies: 2
- Views: 10882
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...
- Tue Aug 01, 2017 8:59 pm
- Forum: Questions & Answers
- Topic: A client application
- Replies: 3
- Views: 9194
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...
- Tue Jul 18, 2017 7:54 am
- Forum: Questions & Answers
- Topic: CLA byte of the select APDU command
- Replies: 2
- Views: 7095
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.
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.
- Mon Jul 10, 2017 10:41 am
- Forum: Questions & Answers
- Topic: Directory Tree of Java Card Filesystem
- Replies: 4
- Views: 10381
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...
- Tue Jul 04, 2017 6:52 am
- Forum: Algorithm School
- Topic: DES Encryption
- Replies: 1
- Views: 12118
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.
Please modify your catching of exception by throwing a proper ISO7816 standardized exception otherwise it is very hard to debug.
- Sun Jul 02, 2017 9:50 am
- Forum: Shopping FAQ
- Topic: Java card supporting RSA4096
- Replies: 4
- Views: 21217
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...
- Sun Jul 02, 2017 9:17 am
- Forum: Questions & Answers
- Topic: javax.crypto.BadPaddingException
- Replies: 4
- Views: 11167
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...
- Thu Jun 15, 2017 8:25 pm
- Forum: Questions & Answers
- Topic: Error 0x643A when installing applet on ACOSJ card
- Replies: 7
- Views: 13046
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...
- Wed Jun 14, 2017 5:51 am
- Forum: Questions & Answers
- Topic: signPreComputedHash on JC30M48CR
- Replies: 4
- Views: 8926
Re: signPreComputedHash on JC30M48CR
Your post is simply too brief to allow a more detailed understanding of your problem. Please post your source code that is causing the problem so that we could help. Are there any Status Words that are not 0x9000 that are returned during the operation ?
- Tue Jun 13, 2017 10:55 am
- Forum: PKIApplet
- Topic: The usage of PKI host application combined with PKIApplet in A40CR card
- Replies: 9
- Views: 32266
Re: The usage of PKI host application combined with PKIApplet in A40CR card
@ThePhoenyx
Do you have a special requirement for using the PKIApplet ?
Do you have a special requirement for using the PKIApplet ?