debug module

class debug.Debug(debug_conf)

Bases: Debug

content_byte(tls_msg)

fragment / content of a TLS record / inner message

content_struct(tls_msg)
handle_inner_tls_msg(tls_msg, label='')

handles tls message

handle_tls_msg(tls_msg, label='')

handles tls message

handle_tls_record(tls_msg, label='')
inner_content_bytes(tls_msg)
inner_content_struct(tls_msg)
msg_counter(tls_msg)

select appropriated TLS message counter to tls_msg

record_counter(tls_msg)

select appropriated TLS record counter to tls_msg

tls_record_byte(tls_msg)

returns the tls_Reccord bytes

For received TLS record, these are stored in record_layer_bytes so this value is prefered. For sent TLS record, the bytes are formed using to_record_layer_bytes.

tls_record_struct(tls_msg)