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

Name

Description

rsa

Method table to update.

sign

Callback implementing RSA_sign()‐style signing, or NULL to clear.

Created with MrDocs