Barrelfish
|
Version independent SSL functions. More...
Functions | |
int | SSL_CTX_set_ssl_version (SSL_CTX *ctx, const SSL_METHOD *meth) |
STACK_OF (SSL_CIPHER) | |
const char * | SSL_get_cipher_list (const SSL *s, int n) |
int | SSL_CTX_set_cipher_list (SSL_CTX *ctx, const char *str) |
int | SSL_set_cipher_list (SSL *s, const char *str) |
const char * | SSL_get_servername (const SSL *s, const int type) |
void | SSL_CTX_set_tmp_rsa_callback (SSL_CTX *ctx, RSA *(*cb)(SSL *ssl, int is_export, int keylength)) |
Set the callback for generating temporary RSA keys. More... | |
void | SSL_CTX_set_tmp_dh_callback (SSL_CTX *ctx, DH *(*dh)(SSL *ssl, int is_export, int keylength)) |
Set the callback for generating temporary DH keys. More... | |
Version independent SSL functions.
int SSL_CTX_set_cipher_list | ( | SSL_CTX * | ctx, |
const char * | str | ||
) |
specify the ciphers to be used by default by the SSL_CTX
int SSL_CTX_set_ssl_version | ( | SSL_CTX * | ctx, |
const SSL_METHOD * | meth | ||
) |
Used to change an SSL_CTXs default SSL method type
void SSL_CTX_set_tmp_dh_callback | ( | SSL_CTX * | ctx, |
DH *(*)(SSL *ssl, int is_export, int keylength) | dh | ||
) |
Set the callback for generating temporary DH keys.
ctx | the SSL context. |
dh | the callback |
void SSL_CTX_set_tmp_rsa_callback | ( | SSL_CTX * | ctx, |
RSA *(*)(SSL *ssl, int is_export, int keylength) | cb | ||
) |
Set the callback for generating temporary RSA keys.
ctx | the SSL context. |
cb | the callback |
const char* SSL_get_cipher_list | ( | const SSL * | s, |
int | n | ||
) |
The old interface to get the same thing as SSL_get_ciphers()
const char* SSL_get_servername | ( | const SSL * | s, |
const int | type | ||
) |
return a servername extension value if provided in Client Hello, or NULL. So far, only host_name types are defined (RFC 3546).
int SSL_set_cipher_list | ( | SSL * | s, |
const char * | str | ||
) |
specify the ciphers to be used by the SSL
STACK_OF | ( | SSL_CIPHER | ) |
return a STACK of the ciphers available for the SSL and in order of preference
return a STACK of the ciphers available for the SSL and in order of algorithm id