Set the public‐encrypt callback on a custom RSA_METHOD (deprecated).
Synopsis
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_meth_set_pub_enc(
RSA_METHOD* rsa,
int(* pub_enc)(int, unsigned char const*, unsigned char*, RSA*, int));
|
Warning
|
Deprecated. Use of this entity is allowed but discouraged. |
Return Value
1 on success.
Parameters
Name |
Description |
rsa |
Method object to update. |
pub_enc |
Callback performing RSA public encryption, or NULL. |
Created with MrDocs