On Wed, Apr 16, 2008, shankar ks wrote:
Hi ,
Do any one have an idea of which algorithems that pkcs7_sign and
pkcs_encrypt Api's will use internally. I wanted to use only Rsa Algorithems
for signing and encryption. but not sure about how to set those Rsa
algorithem before calling sign and encrypt functions.
PKCS7_encrypt() uses RSA and whatever symmetric algorithm you specify.
PKCS7_sign() can use RSA, DSA or EC depending on the key type specified. It
will also use a message digest algorithm, normally SHA1.
Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]