Set the private-encrypt (signing) callback on a custom RSA_METHOD (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_meth_set_priv_enc(
RSA_METHOD* rsa,
int(* priv_enc)(int, unsigned char const*, unsigned char*, RSA*, int));
Deprecated. Use of this entity is allowed but discouraged.
1 on success.
| Name | Description |
|---|---|
| rsa | Method object to update. |
| priv_enc | Callback performing RSA private encryption / raw signing, or NULL. |