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

Name

Description

r

RSA key receiving the data.

idx

Index from CRYPTO_get_ex_new_index() for RSA.

arg

Pointer to store; ownership rules follow CRYPTO_EX_DATA.

Created with MrDocs