Set the key‐generation callback on a custom RSA_METHOD (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_meth_set_keygen(
    RSA_METHOD* rsa,
    int(* keygen)(RSA*, int, BIGNUM*, BN_GENCB*));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success.

Parameters

Name

Description

rsa

Method object to update.

keygen

Callback implementing RSA_generate_key_ex()‐style key generation, or NULL.

Created with MrDocs