On Wed, Dec 15, 2004, Aparna Nandyal wrote: > > Hi > > Im using pkcs7_sign method. One of the input parameters to this function is > EVP_PKEY private key. But private keys are password protected and there is > no parameter in the function to take the password for the private key. So > can anyone let me know how pkcs7_sign method can be used with password > protected key? >
The password protection is normally handled when you obtain the EVP_PKEY structure. That might be from a PEM file or a PKCS#12 file. Those (and other options) include support for passwords. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]