RSA_meth_set_verify

Set the signature-verification callback on a custom RSA_METHOD (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_meth_set_verify(
    RSA_METHOD* rsa,
    int(* verify)(int, unsigned char const*, unsigned int, unsigned char const*, unsigned int, RSA const*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success.

Parameters

NameDescription
rsaMethod object to update.
verifyCallback invoked by RSA_verify(), with the same parameters, or NULL.