rsa_sign()#
Generates a digital signature using SHA1 and an RSA private key
Syntax
rsa_sign( rsa, buffer, signature var )
Returns#
Returns 1 on success, 0 on failure. Requires OpenSSL 0.9.7 or greater.
Parameters#
Parameter | Description |
---|---|
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 |