PKCS8 PrivateKey decrypt
843811May 5 2005 — edited Feb 22 2007Hi there
I have a Private key which has been selected from an ldap directory, which is in a byte[] and is encrypted with a password in the PKCS8 format.
Is it possible for me to decrypt the key with the bouncy castles PEMReader, I'm not sure how to do this, every time I read the Object it comes back null, if anyone has any examples of this, please post them.
On another note, maby the PEMReader is not the way to go, I'm a bit lost to tell you the truth.
Thanks