;-BEGIN RSA PRIVATE KEY-" and "-END RSA PRIVATE KEY-").
Then, I read in the file (FileInputStream) and Base 64 decrypted the
file read.
>From that, I had the Base 64 decrypted bytes, and you can follow from
the Java code I posted below.
Hope this helps,
Mike
-O
Tim,
Thanks for your suggestion...it looks like I've got it to work.
I initially generated a RSA key with "des3", using "openssl genrsa".
I took that key (keytest.pem), and fed it into:
openssl pkcs8 -nocrypt -in keytest.pem -topk8 -out keytest8.pem
That gave me an unencrypted PKCS8 key, which I