Go to the source code of this file.
Functions | |
const void * | MHD_gtls_get_cred (MHD_gtls_key_st key, enum MHD_GNUTLS_CredentialsType kx, int *err) |
const void * | MHD_gtls_get_kx_cred (MHD_gtls_session_t session, enum MHD_GNUTLS_KeyExchangeAlgorithm algo, int *err) |
void * | MHD_gtls_get_auth_info (MHD_gtls_session_t session) |
int | MHD_gtls_auth_info_set (MHD_gtls_session_t session, enum MHD_GNUTLS_CredentialsType type, int size, int allow_change) |
int MHD_gtls_auth_info_set | ( | MHD_gtls_session_t | session, | |
enum MHD_GNUTLS_CredentialsType | type, | |||
int | size, | |||
int | allow_change | |||
) |
Definition at line 302 of file gnutls_auth.c.
References MHD_gtls_key::auth_info, MHD_gtls_key::auth_info_size, MHD_gtls_key::auth_info_type, GNUTLS_E_INVALID_REQUEST, GNUTLS_E_MEMORY_ERROR, MHD_gtls_session_int::key, MHD_gnutls_assert, MHD_gnutls_calloc, MHD_gtls_auth_get_type(), and MHD_gtls_free_auth_info().
Referenced by gen_dhe_server_kx(), gen_rsa_export_server_kx(), MHD_gtls_proc_cert_cert_req(), and MHD_gtls_proc_x509_server_certificate().
void* MHD_gtls_get_auth_info | ( | MHD_gtls_session_t | session | ) |
Definition at line 232 of file gnutls_auth.c.
References MHD_gtls_key::auth_info, and MHD_gtls_session_int::key.
Referenced by MHD__gnutls_get_public_rsa_params(), MHD__gnutls_peers_cert_less_512(), MHD_gtls_dh_set_group(), MHD_gtls_dh_set_peer_public(), MHD_gtls_dh_set_secret_bits(), MHD_gtls_free_auth_info(), MHD_gtls_proc_cert_client_cert_vrfy(), MHD_gtls_proc_x509_server_certificate(), MHD_gtls_rsa_export_set_pubkey(), proc_dhe_server_kx(), and proc_rsa_export_server_kx().
const void* MHD_gtls_get_cred | ( | MHD_gtls_key_st | key, | |
enum MHD_GNUTLS_CredentialsType | kx, | |||
int * | err | |||
) |
Definition at line 188 of file gnutls_auth.c.
References MHD_gtls_auth_cred_st::algorithm, MHD_gtls_key::cred, MHD_gtls_auth_cred_st::credentials, and MHD_gtls_auth_cred_st::next.
Referenced by _select_client_cert(), call_get_cert_callback(), check_server_params(), gen_dhe_server_kx(), gen_rsa_export_server_kx(), MHD__gnutls_get_private_rsa_params(), MHD_gtls_gen_cert_server_cert_req(), MHD_gtls_get_kx_cred(), MHD_gtls_proc_cert_cert_req(), MHD_gtls_proc_x509_server_certificate(), MHD_gtls_remove_unwanted_ciphersuites(), MHD_gtls_server_select_cert(), MHD_gtls_session_cert_type_supported(), and proc_dhe_client_kx().
const void* MHD_gtls_get_kx_cred | ( | MHD_gtls_session_t | session, | |
enum MHD_GNUTLS_KeyExchangeAlgorithm | algo, | |||
int * | err | |||
) |
Definition at line 178 of file gnutls_auth.c.
References MHD_gtls_security_param_st::entity, GNUTLS_SERVER, MHD_gtls_session_int::key, MHD_gtls_get_cred(), MHD_gtls_map_kx_get_cred(), and MHD_gtls_session_int::security_parameters.
Referenced by MHD_gtls_remove_unwanted_ciphersuites(), and MHD_gtls_server_select_suite().