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 630 matches

by UNKNwYSHSA
Wed Jul 19, 2017 3:50 am
Forum: Questions & Answers
Topic: How do I create a certificate in javacard?
Replies: 5
Views: 534

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...
by UNKNwYSHSA
Tue Jul 18, 2017 11:31 pm
Forum: Questions & Answers
Topic: How do I create a certificate in javacard?
Replies: 5
Views: 534

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.
generate_certificate.png
by UNKNwYSHSA
Tue Jul 18, 2017 2:19 am
Forum: Questions & Answers
Topic: Exceptions doesn't work in Extended Length APDU
Replies: 3
Views: 293

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.
by UNKNwYSHSA
Mon Jul 17, 2017 6:15 am
Forum: Questions & Answers
Topic: How do I create a certificate in javacard?
Replies: 5
Views: 534

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.
by UNKNwYSHSA
Thu Jul 06, 2017 10:05 pm
Forum: Questions & Answers
Topic: Secure Messaging
Replies: 3
Views: 380

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?
by UNKNwYSHSA
Wed Jul 05, 2017 10:19 pm
Forum: Questions & Answers
Topic: Transient reference to a byte array
Replies: 2
Views: 471

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.
by UNKNwYSHSA
Tue Jul 04, 2017 9:50 pm
Forum: Questions & Answers
Topic: Finding some sample codes
Replies: 3
Views: 565

Re: Finding some sample codes

The JavaCard API specification shows a sample of how to use class APDU: here.
by UNKNwYSHSA
Fri Jun 30, 2017 9:37 pm
Forum: Solutions
Topic: ICC Master Key Derivation
Replies: 3
Views: 993

Re: ICC Master Key Derivation

OK. :D
by UNKNwYSHSA
Thu Jun 29, 2017 5:30 am
Forum: Questions & Answers
Topic: ARPC generation
Replies: 22
Views: 2020

Re: ARPC generation

Follow this post: viewtopic.php?p=3929#p3929
JavaCard OS : Disclaimer