OpenBSD manual page server

Manual Page Search Parameters

BIO_GET_EX_NEW_INDEX(3) Library Functions Manual BIO_GET_EX_NEW_INDEX(3)

BIO_get_ex_new_index, BIO_set_ex_data, BIO_get_ex_data, ENGINE_get_ex_new_index, ENGINE_set_ex_data, ENGINE_get_ex_data, UI_get_ex_new_index, UI_set_ex_data, UI_get_ex_data, X509_get_ex_new_index, X509_set_ex_data, X509_get_ex_data, ECDH_get_ex_new_index, ECDH_set_ex_data, ECDH_get_ex_data, ECDSA_get_ex_new_index, ECDSA_set_ex_data, ECDSA_get_ex_dataapplication-specific data

#include <openssl/x509.h>

int
TYPE_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);

int
TYPE_set_ex_data(TYPE *d, int idx, void *arg);

void *
TYPE_get_ex_data(TYPE *d, int idx);

In the description here, TYPE is used a placeholder for any of the OpenSSL datatypes listed in CRYPTO_get_ex_new_index(3).

These functions handle application-specific data for OpenSSL data structures.

() is a macro that calls CRYPTO_get_ex_new_index(3) with the correct index value.

() is a function that calls CRYPTO_set_ex_data(3) with an offset into the opaque exdata part of the TYPE object.

() is a function that calls CRYPTO_get_ex_data(3) with an offset into the opaque exdata part of the TYPE object.

CRYPTO_get_ex_new_index(3), RSA_get_ex_new_index(3)

January 6, 2017 OpenBSD-6.1