hello_request = 0client_hello = 1server_hello = 2new_session_ticket = 4end_of_early_data = 5encrypted_extensions = 8certificate = 11server_key_exchange = 12certificate_request = 13server_hello_done = 14certificate_verify = 15client_key_exchange = 16finished = 20key_update = 24message_hash = 254_pub const HandshakeType = enum(u8) {
hello_request = 0,
client_hello = 1,
server_hello = 2,
new_session_ticket = 4,
end_of_early_data = 5,
encrypted_extensions = 8,
certificate = 11,
server_key_exchange = 12,
certificate_request = 13,
server_hello_done = 14,
certificate_verify = 15,
client_key_exchange = 16,
finished = 20,
key_update = 24,
message_hash = 254,
_,
}