This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I have java.security.KeyPairGenerator making RSA KeyPairs for me, but I'm not sure what to do with the encoded data. On my public and private keys I call the getEncoded() method, which returns a binary representation of the key, but how can I turn the binary representation back into a key object? I've been poking around the documentation for about a day without any luck.
Edit: More generally, if someone knows of a tutorial about working with KeyPairs in java other than the sun standard ones, it would be appreciated. Figuring stuff out from google snippets and API docs isn't exactly fun.
[ November 14, 2005: Message edited by: M Litherland ]