On Fri, Jan 27, 2012, Dave Thompson wrote: > > > Is there any way to do that with openssl? > > > Just call the low-level primitive RSA_sign if you still want > the conventional algid+hash encoding and PKCS1 formatting > (i.e. if you are interoperating with almost anyone) or > even lower-level RSA_private_encrypt otherwise. > > I see no standard provision for it in EVP. I'm pretty sure you > could construct your own EVP_MD for it, if you want to bother. >
It can be done with EVP_PKEY_sign() in OpenSSL 1.0.0 and later: there is an example in the manual page. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org