JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
How do I create a certificate in javacard?
How do I create a certificate in javacard?
Forgive my short English skills first
I would like to generate a certificate from javacard
I want to check the generated certificate through openssl on another device
Please tell me how to use javacard to create a certificate available in openssl
Thank you
I would like to generate a certificate from javacard
I want to check the generated certificate through openssl on another device
Please tell me how to use javacard to create a certificate available in openssl
Thank you
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
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.
sense and simplicity
Re: How do I create a certificate in javacard?
Thank you for your reply.
I'll wait for your sample code.
I'll wait for your sample code.
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
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.
You do not have the required permissions to view the files attached to this post. Please login first.
sense and simplicity
Re: How do I create a certificate in javacard?
Thank you for the reply
I have a one more question
The certificate has various variables, so it seems to be created as a class.
So how do you store the class data on the Java Card?
Thank you for your kindness
I have a one more question
The certificate has various variables, so it seems to be created as a class.
So how do you store the class data on the Java Card?
Thank you for your kindness
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: How do I create a certificate in javacard?
You can define 2 method:
Code: Select all
// Serialize variables to a byte array.
// Then store data bytes to javacard.
byte[] toBytes();
Code: Select all
// After reading data bytes from javacard,
// UnSerialize variables from the byte array, build one Certificate class instance using these variables.
Certificate fromBytes(byte[] data);
sense and simplicity
Who is online
Users browsing this forum: Google [Bot] and 64 guests