Go to the source code of this file.
Functions | |
void * | create_and_connect_client (char *my_endpoint_, socket_config_fn socket_config_, void *socket_config_data_, void **client_mon_) |
void | expect_new_client_bounce_fail (char *my_endpoint_, void *server_, socket_config_fn socket_config_, void *socket_config_data_, void **client_mon_, int expected_client_event_, int expected_client_value_) |
void | setup_context_and_server_side (void **zap_control_, void **zap_thread_, void **server_, void **server_mon_, char *my_endpoint_, zmq_thread_fn zap_handler_, socket_config_fn socket_config_, void *socket_config_data_, const char *routing_id_) |
static void | setup_handshake_socket_monitor (void *server_, void **server_mon_, const char *monitor_endpoint_) |
void | setup_testutil_security_curve () |
void | shutdown_context_and_server_side (void *zap_thread_, void *server_, void *server_mon_, void *zap_control_, bool zap_handler_stopped_) |
void | socket_config_curve_client (void *client_, void *data_) |
void | socket_config_curve_server (void *server_, void *server_secret_) |
void | socket_config_null_client (void *server_, void *server_secret_) |
void | socket_config_null_server (void *server_, void *server_secret_) |
void | socket_config_plain_client (void *server_, void *server_secret_) |
void | socket_config_plain_server (void *server_, void *server_secret_) |
void | zap_handler (void *) |
void | zap_handler_generic (zap_protocol_t zap_protocol_, const char *expected_routing_id_) |
Variables | |
static const char | test_plain_password [] = "testpass" |
static const char | test_plain_username [] = "testuser" |
const char * | test_zap_domain = "ZAPTEST" |
char | valid_client_public [41] |
char | valid_client_secret [41] |
char | valid_server_public [41] |
char | valid_server_secret [41] |
void * | zap_requests_handled |
void* create_and_connect_client | ( | char * | my_endpoint_, |
socket_config_fn | socket_config_, | ||
void * | socket_config_data_, | ||
void ** | client_mon_ | ||
) |
Definition at line 338 of file testutil_security.cpp.
void expect_new_client_bounce_fail | ( | char * | my_endpoint_, |
void * | server_, | ||
socket_config_fn | socket_config_, | ||
void * | socket_config_data_, | ||
void ** | client_mon_, | ||
int | expected_client_event_, | ||
int | expected_client_value_ | ||
) |
Definition at line 362 of file testutil_security.cpp.
void setup_context_and_server_side | ( | void ** | zap_control_, |
void ** | zap_thread_, | ||
void ** | server_, | ||
void ** | server_mon_, | ||
char * | my_endpoint_, | ||
zmq_thread_fn | zap_handler_, | ||
socket_config_fn | socket_config_, | ||
void * | socket_config_data_, | ||
const char * | routing_id_ | ||
) |
Definition at line 264 of file testutil_security.cpp.
|
static |
Definition at line 243 of file testutil_security.cpp.
void setup_testutil_security_curve | ( | ) |
Definition at line 57 of file testutil_security.cpp.
void shutdown_context_and_server_side | ( | void * | zap_thread_, |
void * | server_, | ||
void * | server_mon_, | ||
void * | zap_control_, | ||
bool | zap_handler_stopped_ | ||
) |
Definition at line 314 of file testutil_security.cpp.
Definition at line 83 of file testutil_security.cpp.
Definition at line 66 of file testutil_security.cpp.
Definition at line 9 of file testutil_security.cpp.
Definition at line 15 of file testutil_security.cpp.
Definition at line 31 of file testutil_security.cpp.
Definition at line 41 of file testutil_security.cpp.
Definition at line 238 of file testutil_security.cpp.
void zap_handler_generic | ( | zap_protocol_t | zap_protocol_, |
const char * | expected_routing_id_ | ||
) |
Definition at line 98 of file testutil_security.cpp.
|
static |
Definition at line 29 of file testutil_security.cpp.
|
static |
Definition at line 28 of file testutil_security.cpp.
const char* test_zap_domain = "ZAPTEST" |
Definition at line 7 of file testutil_security.cpp.
char valid_client_public[41] |
Definition at line 52 of file testutil_security.cpp.
char valid_client_secret[41] |
Definition at line 53 of file testutil_security.cpp.
char valid_server_public[41] |
Definition at line 54 of file testutil_security.cpp.
char valid_server_secret[41] |
Definition at line 55 of file testutil_security.cpp.
void* zap_requests_handled |
Definition at line 96 of file testutil_security.cpp.