openssl update: 1.0.1h
[tomato.git] / release / src / router / openssl / doc / crypto / X509_STORE_CTX_get_ex_new_index.pod
blob8a9243d75613d67213e38d6ea1239f2e135ff57c
1 =pod
3 =head1 NAME
5 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
7 =head1 SYNOPSIS
9  #include <openssl/x509_vfy.h>
11  int X509_STORE_CTX_get_ex_new_index(long argl, void *argp,
12                 CRYPTO_EX_new *new_func,
13                 CRYPTO_EX_dup *dup_func,
14                 CRYPTO_EX_free *free_func);
16  int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *d, int idx, void *arg);
18  void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *d, int idx);
20 =head1 DESCRIPTION
22 These functions handle application specific data in X509_STORE_CTX structures.
23 Their usage is identical to that of RSA_get_ex_new_index(), RSA_set_ex_data()
24 and RSA_get_ex_data() as described in L<RSA_get_ex_new_index(3)>.
26 =head1 NOTES
28 This mechanism is used internally by the B<ssl> library to store the B<SSL>
29 structure associated with a verification operation in an B<X509_STORE_CTX>
30 structure. 
32 =head1 SEE ALSO
34 L<RSA_get_ex_new_index(3)|RSA_get_ex_new_index(3)>
36 =head1 HISTORY
38 X509_STORE_CTX_get_ex_new_index(), X509_STORE_CTX_set_ex_data() and
39 X509_STORE_CTX_get_ex_data() are available since OpenSSL 0.9.5.
41 =cut