OpenSSL CRYPTO_set_ex_data(3openssl)
NNNNAAAAMMMMEEEECRYPTO_set_ex_data, CRYPTO_get_ex_data - internal
application specific data functions SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS#include
int CRYPTO_set_ex_data(CRYPTO_EX_DATA *r, int idx, void *arg);
void *CRYPTO_get_ex_data(CRYPTO_EX_DATA *r, int idx);
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN Several OpenSSL structures can have application specific data attached to them. These functions are used internally by OpenSSL to manipulate application specific data attached to a specific structure. These functions should only be used by applications tomanipulate CCCCRRRRYYYYPPPPTTTTOOOO_EEEEXXXX_DDDDAAAATTTTAAAA structures passed to the
nnnneeeewwww_ffffuuuunnnncccc(((()))), ffffrrrreeeeeeee_ffffuuuunnnncccc(((()))) and dddduuuupppp_ffffuuuunnnncccc(((()))) callbacks: as passed
to RRRRSSSSAAAA_ggggeeeetttt_eeeexxxx_nnnneeeewwww_iiiinnnnddddeeeexxxx(((()))) for example.
CCCCRRRRYYYYPPPPTTTTOOOO_sssseeeetttt_eeeexxxx_ddddaaaattttaaaa(((()))) is used to set application specific
data, the data is supplied in the aaaarrrrgggg parameter and its precise meaning is up to the application.CCCCRRRRYYYYPPPPTTTTOOOO_ggggeeeetttt_eeeexxxx_ddddaaaattttaaaa(((()))) is used to retrieve application
specific data. The data is returned to the application, this will be the same value as supplied to a previousCCCCRRRRYYYYPPPPTTTTOOOO_sssseeeetttt_eeeexxxx_ddddaaaattttaaaa(((()))) call.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSSCCCCRRRRYYYYPPPPTTTTOOOO_sssseeeetttt_eeeexxxx_ddddaaaattttaaaa(((()))) returns 1 on success or 0 on failure.
CCCCRRRRYYYYPPPPTTTTOOOO_ggggeeeetttt_eeeexxxx_ddddaaaattttaaaa(((()))) returns the application data or 0 on
failure. 0 may also be valid application data but currently it can only fail if given an invalid iiiiddddxxxx parameter. On failure an error code can be obtained fromERR_get_error(3).
SSSSEEEEEEEE AAAALLLLSSSSOOOORSA_get_ex_new_index(3), DSA_get_ex_new_index(3),
DH_get_ex_new_index(3)
HHHHIIIISSSSTTTTOOOORRRRYYYYCRYPTO_set_ex_data() and CRYPTO_get_ex_data() have been
available since SSLeay 0.9.0.27/Mar/2010 Last change: 0.9.8o 1
OpenSSL CRYPTO_set_ex_data(3openssl)
27/Mar/2010 Last change: 0.9.8o 2