RSA_meth_set_sign

Set the private-key signing callback on an RSA_METHOD (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_meth_set_sign(
    RSA_METHOD* rsa,
    int(* sign)(int, unsigned char const*, unsigned int, unsigned char*, unsigned int*, RSA const*));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
rsaMethod table to update.
signCallback implementing RSA_sign()-style signing, or NULL to clear.