rsa_sign()

 
Sign the data in "buffer" with the RSA private key specified by "rsa", returning the result in "signature" where rsa = Value returned from one of the rsa_load_key routines, buffer = Buffer to sign, signature = Resulting signature.
Syntax
rsa_sign( rsa, buffer, signature var )
Returns 1 on success, 0 on failure. Requires OpenSSL 0.9.7 or greater.
User Annotations: rsa_sign