This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Security and the fly likes write/read RSA keys to/from files(?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "write/read RSA keys to/from files(?)" Watch "write/read RSA keys to/from files(?)" New topic
Author

write/read RSA keys to/from files(?)

Lana Al
Greenhorn

Joined: Nov 27, 2009
Posts: 3
Hi, i'm new to encryption and decryption, and i'm trying to right a program to generate RSA key pair and store them to separate files for later process, and then read them back from the files. i just want to know, is what i wrote down correct? can i use ObjectOutput /ObjectInput to write/read key pairs to/from files?





Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36578
    
  16
Too difficult a question for "beginning Java". Moving thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: write/read RSA keys to/from files(?)
 
Similar Threads
why StackOverflowError?
about object serialization
custom object serializations
A question regarding defaultXxxObject()
need to generate RSA keys from txt files