hazel Gao wrote:
>
> I want to do some sign and unsign work. In openssl, I
> found X509_sign which uses ASN1_sign. But these two
> APIs are used to sign X509 certs, so a CTX must be
> included. My work is just get a private key and se
> this key to sign the md5 digest of some data. Can
> anyone tell me some simple APIs to do this?
>
Look at the EVP_SignInit manual page.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]