Here's a java library for parsing PKCS8 private keys: http://juliusdavies.ca/commons-ssl/pkcs8.html
You can download it from here: http://juliusdavies.ca/commons-ssl/download.html yours, Julius On Nov 29, 2007 7:01 AM, Metalpalo <[EMAIL PROTECTED]> wrote: > > Hello > > I have such problem. I generated private key(RSA1024) through openssl and > now I want to load it via BC in java or through Crypto ++. > > But It seems that here is some incompatibility. I don't know to parse PKCS8 > format from openssl through JAVA > and vice-versa. > > What format is used in openssl. Because for example I see public exponent > "10001" in openssl private key but not in JAVA PKCS8 file. > > I have onemore question: Does exist some way how to reconstruct public key > from private key inthis standard > or nor ? > > Where is problem? > > Thanks > -- > View this message in context: > http://www.nabble.com/PKCS8-private-key-in-openss--tf4897741.html#a14027434 > Sent from the OpenSSL - User mailing list archive at Nabble.com. > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > -- yours, Julius Davies 250-592-2284 (Home) 250-893-4579 (Mobile) http://juliusdavies.ca/ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]