Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RSA Private Key CRT Components ?

811808Mar 30 2011 — edited Apr 12 2011
Hello,

I need to generate public and private key components, then i need to retrieve them from card. I need their clear values.
Also, i am trying to get them with CRT component based.

This is how i am generating the RSA key pairs. Does anyone know how can i get the clear values ?

rsa_KeyPair = new KeyPair(KeyPair.ALG_RSA_CRT, RSA_KEY_SIZE);
rsa_KeyPair.genKeyPair();
rsa_PublicKey = (RSAPublicKey)rsa_KeyPair.getPublic();
rsa_PrivateCrtKey = (RSAPrivateCrtKey)rsa_KeyPair.getPrivate();

Meanwhile, does anyone tell me how code block is used, i forgat it again :)

Thank you in advance,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 10 2011
Added on Mar 30 2011
14 comments
2,484 views