Set the private-key signing callback on an RSA_METHOD (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_meth_set_sign(
RSA_METHOD* rsa,
int(* sign)(int, unsigned char const*, unsigned int, unsigned char*, unsigned int*, RSA const*));
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| rsa | Method table to update. |
| sign | Callback implementing RSA_sign()-style signing, or NULL to clear. |