RSA_meth_get_pub_enc

Return the public-encrypt callback installed on a custom RSA_METHOD (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int(*
RSA_meth_get_pub_enc(RSA_METHOD const* meth))(int, unsigned char const*, unsigned char*, RSA*, int);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Pointer to the pub_enc callback, or NULL if unset.

Parameters

NameDescription
methMethod object to query.