ServerHello
- class mtf.network_port.tls.tls_dtls_config.ServerHello
- Represents a TLS ServerHello message, which is the server’s response to the client’s ClientHello in a TLS handshake. - Attributes:
- protocol_version (bytes): The version of the TLS protocol selected by the server. - unix_time (bytes): The current time in UNIX timestamp format (4 bytes). - random (bytes): A random value generated by the server (28 bytes). - session_id_length (int): The length of the session ID. - session_id (bytes): The chosen or resumed session ID. - selected_cipher_suite (bytes): The cipher suite selected by the server. - selected_compression_method (bytes): The compression method selected by the server. - auto_set_hello_retry_mode_in_key_share (bool): Indicates if HelloRetryRequest mode should be set automatically in the key share (applicable in TLS 1.3). 
 - protocol_version: bytes
 - unix_time: bytes
 - random: bytes
 - session_id_length: int
 - session_id: bytes
 - selected_cipher_suite: bytes
 - selected_compression_method: bytes
 - auto_set_hello_retry_mode_in_key_share: bool
 - __init__(protocol_version: bytes, unix_time: bytes, random: bytes, session_id_length: int, session_id: bytes, selected_cipher_suite: bytes, selected_compression_method: bytes, auto_set_hello_retry_mode_in_key_share: bool) None