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!

Saving Private / Public keys to file

843810Jun 23 2002 — edited Jan 1 2004
I would like to save the Private & Public keys to a file so that I can use that for all future encryptions and decryptions (public key to be given out ofcourse).

How do I do this?

I know how to generate the key pair and such but have no clue how to save the key pair to file and then read it from a file? Can someone please help.

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 29 2004
Added on Jun 23 2002
11 comments
669 views