DH_get_ex_new_index(3)

DH_get_ex_new_index(3) | OpenSSL | DH_get_ex_new_index(3)

# NAME

DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data - add application specific data to DH structures

# LIBRARY

libcrypto, -lcrypto

# SYNOPSIS

#include <openssl/dh.h>
int DH_get_ex_new_index(long argl, void *argp,
CRYPTO_EX_new *new_func,
CRYPTO_EX_dup *dup_func,
CRYPTO_EX_free *free_func);
int DH_set_ex_data(DH *d, int idx, void *arg);
char *DH_get_ex_data(DH *d, int idx);

# DESCRIPTION

These functions handle application specific data in DH 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).

# SEE ALSO

RSA_get_ex_new_index(3), openssl_dh(3)

# HISTORY

DH_get_ex_new_index(), DH_set_ex_data() and DH_get_ex_data() are available since OpenSSL 0.9.5.

2009-07-20 | 1.0.1-dev