X509_STORE_CTX_GET_EX_NEW_INDEX(3)

NAME
X509_STORE_CTX_get_ex_new_index, X509_STORE_CTX_set_ex_data, X509_STORE_CTX_get_ex_data - add application specific data to X509_STORE_CTX structures

SYNOPSIS
#include <openssl/x509_vfy.h>
int
X509_STORE_CTX_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
int
X509_STORE_CTX_set_ex_data(X509_STORE_CTX *d, int idx, void *arg);
void *
X509_STORE_CTX_get_ex_data(X509_STORE_CTX *d, int idx);

DESCRIPTION
These functions handle application specific data in X509_STORE_CTX structures. Their usage is identical to that of RSA_get_ex_new_index(3), RSA_set_ex_data(3), and RSA_get_ex_data(3).

This mechanism is used internally by the ssl(3) library to store the SSL structure associated with a verification operation in an X509_STORE_CTX structure.

SEE ALSO
RSA_get_ex_new_index(3), X509_STORE_CTX_new(3)

HISTORY
X509_STORE_CTX_get_ex_new_index(), X509_STORE_CTX_set_ex_data(), and X509_STORE_CTX_get_ex_data() first appeared in SSLeay 0.9.0 and have been available since OpenBSD 2.4.