.\" $OpenBSD: X509_STORE_CTX_get_ex_new_index.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ .\" .Dd $Mdocdate: November 6 2016 $ .Dt X509_STORE_CTX_GET_EX_NEW_INDEX 3 .Os .Sh NAME .Nm X509_STORE_CTX_get_ex_new_index , .Nm X509_STORE_CTX_set_ex_data , .Nm X509_STORE_CTX_get_ex_data .Nd add application specific data to X509_STORE_CTX structures .Sh SYNOPSIS .In openssl/x509_vfy.h .Ft int .Fo X509_STORE_CTX_get_ex_new_index .Fa "long argl" .Fa "void *argp" .Fa "CRYPTO_EX_new *new_func" .Fa "CRYPTO_EX_dup *dup_func" .Fa "CRYPTO_EX_free *free_func" .Fc .Ft int .Fo X509_STORE_CTX_set_ex_data .Fa "X509_STORE_CTX *d" .Fa "int idx" .Fa "void *arg" .Fc .Ft void * .Fo X509_STORE_CTX_get_ex_data .Fa "X509_STORE_CTX *d" .Fa "int idx" .Fc .Sh DESCRIPTION These functions handle application specific data in .Vt X509_STORE_CTX structures. Their usage is identical to that of .Xr RSA_get_ex_new_index 3 , .Xr RSA_set_ex_data 3 , and .Xr RSA_get_ex_data 3 . .Pp This mechanism is used internally by the .Xr ssl 3 library to store the .Vt SSL structure associated with a verification operation in an .Vt X509_STORE_CTX structure. .Sh SEE ALSO .Xr RSA_get_ex_new_index 3 .Sh HISTORY .Fn X509_STORE_CTX_get_ex_new_index , .Fn X509_STORE_CTX_set_ex_data , and .Fn X509_STORE_CTX_get_ex_data are available since OpenSSL 0.9.5.