Hi,
Thanks a lot for the reply. I have one more question. >The private key contains all the RSA key data whereas the public key >contains just the public components. So yes, this is normal. > >Cheers, >Geoff Since public key contains only the public components is it possible to encrypt a message using RSA_public_encrypt() with a RSA struct having just the public key i.e. RSA struct obtained from rsa = d2i_RSAPublicKey(..) Thanks, Manish ------------------------------------------------------ Manish Chablani ([EMAIL PROTECTED]), Graduate Student, Computer Science Department, Indiana University ------------------------------------------------------ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]