I'm trying to extract the certificate and "rsa private key" from a pem file created with openssl, in a midlet application(J2ME). I've been able to extract the cert info using Bouncy castle ASN1 class, but I cannot get the private key data. I have the following code to extract the rsa private key and decrypt it, however, it throws an exception when I init the cipher.
The private key in the pem file I want to decrypt is something like this:
Also, I would shy the mind of any thought of seeking easier while doing crypto. I like to think of Cryptix as being Crypt Ticks ...tick.tock...tick.tock... a Hollywood character waiting for you to screw down the the lid on your own coffin.
"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."