81 clientHello(event, wtls_machine);
91 error(0,
"send_alert ~> Critical alert (unexpected_message), while waiting for client hello.");
107 send_alert(event, wtls_machine);
117 send_alert(event, wtls_machine);
126 serverHello(event, wtls_machine);
140 gw_assert(wtls_machine->packet_to_send != NULL);
152 debug(
"wtls: ", 0,
"Going to get the RSA public key...");
155 debug(
"wtls: ", 0,
"...got it.");
158 debug(
"wtls: ", 0,
"in CREATED - just added pdu...");
194 send_alert(event, wtls_machine);
204 send_alert(event, wtls_machine);
255 send_alert(event, wtls_machine);
264 exchange_keys(event, wtls_machine);
275 send_alert(event, wtls_machine);
352 send_alert(event, wtls_machine);
362 send_alert(event, wtls_machine);
401 wtls_application(event, wtls_machine);
445 send_alert(event, wtls_machine);
455 send_alert(event, wtls_machine);
486 wtls_machine->encrypted = 0;
487 wtls_machine->last_refresh = -1;
497 wtls_application(event, wtls_machine);
552 send_alert(event, wtls_machine);
562 send_alert(event, wtls_machine);
CREATING CREATING wtls_PDU * serverHelloDonePDU
OPEN NULL_STATE NULL_STATE OPENING packet_is_application_data(event->u.T_Unitdata_Ind.pdu_list)
wtls_PDU * wtls_pdu_create(int type)
EXCHANGE SEC_Terminate_Req
gw_assert(wtls_machine->packet_to_send !=NULL)
add_pdu(wtls_machine, serverKeyXchgPDU)
int certificates_are_identical(List *pdu_list, List *last_received_packet)
ROW(NULL_STATE, T_Unitdata_Ind, packet_contains_clienthello(event->u.T_Unitdata_Ind.pdu_list), { clientHello(event, wtls_machine);}, CREATING) ROW(NULL_STATE
int changecipherspecs_are_identical(List *pdu_list, List *last_received_packet)
EXCHANGE NULL_STATE EXCHANGE is_critical_alert(event->u.T_Unitdata_Ind.pdu_list, wtls_machine)
WAPAddrTuple * wap_addr_tuple_duplicate(WAPAddrTuple *tuple)
int is_warning_alert(List *pdu_list, WTLSMachine *wtls_machine)
int packet_contains_userdata(List *pdu_list)
int packet_contains_finished(List *pdu_list)
wtls_pdu_destroy(serverKeyXchgPDU)
clientHello(event, wtls_machine)
#define wap_event_create(type)
RSAPublicKey * wtls_get_rsapublickey(void)
int certifcateverifys_are_identical(List *pdu_list, List *last_received_packet)
wtls_dispatch_event(alert)
debug("wtls: ", 0,"Going to get the RSA public key...")
EXCHANGE NULL_STATE clienthellos_are_identical(event->u.T_Unitdata_Ind.pdu_list, wtls_machine->last_received_packet)
OPEN NULL_STATE NULL_STATE SEC_Create_Request_Req
CREATING CREATING SEC_Exchange_Req
OPEN NULL_STATE NULL_STATE OPENING OPEN NULL_STATE NULL_STATE OPEN packet_contains_clienthello(event->u.T_Unitdata_Ind.pdu_list)
int finishes_are_indentical(List *pdu_list, List *last_received_packet)
CREATING SEC_Exception_Req
EXCHANGE NULL_STATE EXCHANGE NULL_STATE OPENING COMMIT packet_contains_changecipherspec(event->u.T_Unitdata_Ind.pdu_list) &&packet_contains_finished(event -> u.T_Unitdata_Ind.pdu_list) &&packet_contains_userdata(event->u.T_Unitdata_Ind.pdu_list),
send_queuedpdus(wtls_machine)
int clientkeyexchanges_are_identical(List *pdu_list, List *last_received_packet)
serverKeyXchgPDU u handshake server_key_exchange
error(0, "send_alert ~> Critical alert (unexpected_message), while waiting for client hello.")