d2i_RSAPublicKey and DER format

2005-11-18 Thread Robin Hughes
Hello, I'm would like to generate a key pair using the openssl command line utilities and store them in files. The private key will be used by a Java program that will do the signing. The public key will be used by a C++ program (using openssl lib) to do the verification. I am having trouble

Re: d2i_RSAPublicKey and DER format

2005-11-18 Thread Dr. Stephen Henson
On Fri, Nov 18, 2005, Robin Hughes wrote: Am I misunderstanding something about the compatibility of -outform DER with d2i_RSAPublicKey?? Yes, the formats are incompatible. You need d2i_RSA_PUBKEY() instead. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage