Skip to Main Content

Java Security

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 with public key

843811Apr 12 2006 — edited Apr 25 2006
im a mathematics student and new to java. im developing a mail appln.. an implimentation of PGP. for that i need to use RSA with both private key of sender and public key of receiver before sending mail. how do i do this,, the function which comes with JCE [using provider SunJceSign] is initSign() which takes only private key as argument. it does not accept a public key. how do i do it with public keys.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2006
Added on Apr 12 2006
1 comment
162 views