X509_STORE_CTX_get_ex_new_index.pod 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. =pod
  2. =head1 NAME
  3. 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
  4. =head1 SYNOPSIS
  5. #include <openssl/x509_vfy.h>
  6. int X509_STORE_CTX_get_ex_new_index(long argl, void *argp,
  7. CRYPTO_EX_new *new_func,
  8. CRYPTO_EX_dup *dup_func,
  9. CRYPTO_EX_free *free_func);
  10. int X509_STORE_CTX_set_ex_data(X509_STORE_CTX *d, int idx, void *arg);
  11. char *X509_STORE_CTX_get_ex_data(X509_STORE_CTX *d, int idx);
  12. =head1 DESCRIPTION
  13. These functions handle application specific data in X509_STORE_CTX structures.
  14. Their usage is identical to that of RSA_get_ex_new_index(), RSA_set_ex_data()
  15. and RSA_get_ex_data() as described in L<RSA_get_ex_new_index(3)>.
  16. =head1 NOTES
  17. This mechanism is used internally by the B<ssl> library to store the B<SSL>
  18. structure associated with a verification operation in an B<X509_STORE_CTX>
  19. structure.
  20. =head1 SEE ALSO
  21. L<RSA_get_ex_new_index(3)|RSA_get_ex_new_index(3)>
  22. =head1 HISTORY
  23. X509_STORE_CTX_get_ex_new_index(), X509_STORE_CTX_set_ex_data() and
  24. X509_STORE_CTX_get_ex_data() are available since OpenSSL 0.9.5.
  25. =cut