"Fossies" - the Fresh Open Source Software Archive

Member "openssl-1.0.2q/doc/crypto/X509_STORE_CTX_get_ex_new_index.pod" (20 Nov 2018, 1145 Bytes) of package /linux/misc/openssl-1.0.2q.tar.gz:

Caution: As a special service "Fossies" has tried to format the requested pod source page into HTML format but links to other pod pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted pod source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.


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


 #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);


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


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




X509_STORE_CTX_get_ex_new_index(), X509_STORE_CTX_set_ex_data() and X509_STORE_CTX_get_ex_data() are available since OpenSSL 0.9.5.