RT2942: CRYPTO_set_dynlock_create_callback doc fix
[openssl.git] / doc / crypto / X509_STORE_CTX_get_ex_new_index.pod
1 =pod
2
3 =head1 NAME
4
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
6
7 =head1 SYNOPSIS
8
9  #include <openssl/x509_vfy.h>
10
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);
15
16  int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *d, int idx, void *arg);
17
18  void *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *d, int idx);
19
20 =head1 DESCRIPTION
21
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)>.
25
26 =head1 NOTES
27
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. 
31
32 =head1 SEE ALSO
33
34 L<RSA_get_ex_new_index(3)|RSA_get_ex_new_index(3)>
35
36 =head1 HISTORY
37
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.
40
41 =cut