RSA Private Key CRT Components ?
811808Mar 30 2011 — edited Apr 12 2011Hello,
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,