RSA_meth_set_pub_dec

Set the public-decrypt callback on a custom RSA_METHOD (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_meth_set_pub_dec(
    RSA_METHOD* rsa,
    int(* pub_dec)(int, unsigned char const*, unsigned char*, RSA*, int));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success.

Parameters

NameDescription
rsaMethod object to update.
pub_decCallback performing RSA public decryption / signature recovery, or NULL.