RSA_set_ex_data

Store application data on an RSA key at CRYPTO_EX index idx (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_set_ex_data(
    RSA* r,
    int idx,
    void* arg);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
rRSA key receiving the data.
idxIndex from CRYPTO_get_ex_new_index() for RSA.
argPointer to store; ownership rules follow CRYPTO_EX_DATA.