TLS servers
[Nuauth]

Collaboration diagram for TLS servers:


Files

file  tls.c
 Functions use to create/destroy a TLS connection.

Modules

 TLS Nufw server
 TLS User server

Data Structures

struct  tls_nufw_context_t

Functions

void tls_common_init (void)
void tls_common_deinit (void)
void tls_crl_update_each_session (GSList *session)
void refresh_crl_file (void)

Variables

nuauth_tls_t nuauth_tls

Function Documentation

void refresh_crl_file ( void   ) 

Refresh crl file

This function is run periodically because it is pushed with cleanup_func_push() to the list of nuauth periodically run function.

Definition at line 156 of file tls.c.

References nuauth_tls_t::crl_file, nuauth_tls_t::crl_file_mtime, nuauth_tls_t::crl_refresh, nuauth_tls_t::crl_refresh_counter, nuauth_tls, nuauthdatas, nuauth_datas::tls_auth_servers, tls_crl_update_each_session(), and nuauth_datas::tls_nufw_servers.

Referenced by tls_user_init().

Here is the call graph for this function:

void tls_common_deinit ( void   ) 

Definition at line 112 of file tls.c.

References nuauth_tls_t::ca, nuauth_tls_t::cert, nuauth_tls_t::crl_file, nuauth_tls_t::key, and nuauth_tls.

Referenced by no_action_signals().

void tls_common_init ( void   ) 

Definition at line 66 of file tls.c.

References nuauth_tls_t::ca, nuauth_tls_t::cert, nuauth_tls_t::crl_file, nuauth_tls_t::crl_file_mtime, nuauth_tls_t::crl_refresh, DEBUG_AREA_GW, DEBUG_AREA_MAIN, DEBUG_AREA_USER, DEFAULT_REFRESH_CRL_INTERVAL, nuauth_tls_t::key, log_message, nuauth_ask_exit(), NUAUTH_CACERTFILE, NUAUTH_CERTFILE, NUAUTH_KEYFILE, nuauth_tls, nubase_config_table_get(), nubase_config_table_get_or_default(), and nubase_config_table_get_or_default_int().

Referenced by init_nuauthdata().

Here is the call graph for this function:

void tls_crl_update_each_session ( GSList *  session  ) 

Definition at line 124 of file tls.c.

References nuauth_tls_t::crl_file, nuauth_thread_t::data, DEBUG_AREA_GW, DEBUG_LEVEL_CRITICAL, log_area_printf(), nuauth_tls, nussl_get_error(), NUSSL_OK, nussl_ssl_set_crl_file(), and tls_nufw_context_t::server.

Referenced by refresh_crl_file().

Here is the call graph for this function:


Variable Documentation

struct nuauth_tls_t nuauth_tls

Definition at line 41 of file tls_sasl.c.

Referenced by refresh_crl_file(), tls_common_deinit(), tls_common_init(), tls_crl_update_each_session(), tls_nufw_init(), tls_sasl_connect(), tls_user_init(), and tls_user_setcert_auth_params().


Generated on Sat Nov 22 04:01:02 2008 for NuFW by  doxygen 1.4.7