rsa_sign()

 
Generates a digital signature using SHA1 and an RSA private key
Syntax
rsa_sign( rsa, buffer, signature var )
Returns 1 on success, 0 on failure. Requires OpenSSL 0.9.7 or greater.
  • rsa = The internal reference to the RSA private key to be used
  • buffer = The data to be signed
  • signature = A variable which receives the signature in raw binary format
User Annotations: rsa_sign