Search found 630 matches
- Wed Jul 19, 2017 3:50 am
- Forum: Questions & Answers
- Topic: How do I create a certificate in javacard?
- Replies: 5
- Views: 9824
Re: How do I create a certificate in javacard?
You can define 2 method: // Serialize variables to a byte array. // Then store data bytes to javacard. byte[] toBytes(); // After reading data bytes from javacard, // UnSerialize variables from the byte array, build one Certificate class instance using these variables. Certificate fromBytes(byte[] d...
- Tue Jul 18, 2017 11:31 pm
- Forum: Questions & Answers
- Topic: How do I create a certificate in javacard?
- Replies: 5
- Views: 9824
Re: How do I create a certificate in javacard?
Here's no exists code for you.
See https://en.wikipedia.org/wiki/Public_key_certificate
The following image shows how to generate a certificate.
See https://en.wikipedia.org/wiki/Public_key_certificate
The following image shows how to generate a certificate.
- Tue Jul 18, 2017 10:22 pm
- Forum: Questions & Answers
- Topic: Exceptions doesn't work in Extended Length APDU
- Replies: 3
- Views: 7072
- Tue Jul 18, 2017 2:19 am
- Forum: Questions & Answers
- Topic: Exceptions doesn't work in Extended Length APDU
- Replies: 3
- Views: 7072
Re: Exceptions doesn't work in Extended Length APDU
You have to use ENVELOPE COMMAND to send extended length APDU when using protocol T=0.
- Mon Jul 17, 2017 6:15 am
- Forum: Questions & Answers
- Topic: How do I create a certificate in javacard?
- Replies: 5
- Views: 9824
Re: How do I create a certificate in javacard?
1 Generate keypair in the JavaCard;
2 Output the public key;
3 Build one certificate object with the public key and other informations using middleware;
4 Store the certificate object into the JavaCard, it can be directly readed from JavaCard next time it used.
I'll find code sample for you, wait me.
2 Output the public key;
3 Build one certificate object with the public key and other informations using middleware;
4 Store the certificate object into the JavaCard, it can be directly readed from JavaCard next time it used.
I'll find code sample for you, wait me.
- Thu Jul 06, 2017 10:05 pm
- Forum: Questions & Answers
- Topic: Secure Messaging
- Replies: 3
- Views: 7860
Re: Secure Messaging
1 Maybe you need the PIN verfied.
2 Maybe the command MAC is incorrect. Which tool are you using to send theses commands? The MAC of the READ BINARY command is calculated yourself?
2 Maybe the command MAC is incorrect. Which tool are you using to send theses commands? The MAC of the READ BINARY command is calculated yourself?
- Wed Jul 05, 2017 10:19 pm
- Forum: Questions & Answers
- Topic: Transient reference to a byte array
- Replies: 2
- Views: 7953
Re: Transient reference to a byte array
You can store the reference to a array created by JC API: JCSystem.makeTransientObjectArray(...).
Hope that is what you need.
Hope that is what you need.
- Tue Jul 04, 2017 9:50 pm
- Forum: Questions & Answers
- Topic: Finding some sample codes
- Replies: 3
- Views: 8359
Re: Finding some sample codes
The JavaCard API specification shows a sample of how to use class APDU: here.
- Fri Jun 30, 2017 9:37 pm
- Forum: Solutions
- Topic: ICC Master Key Derivation
- Replies: 3
- Views: 23677
- Thu Jun 29, 2017 5:30 am
- Forum: Questions & Answers
- Topic: ARPC generation
- Replies: 22
- Views: 32735
Re: ARPC generation
Follow this post: viewtopic.php?p=3929#p3929