Module roadrunner_quic_tls_hello

Data Types

client_hello()

client_hello() = #{random := binary(), session_id := binary(), cipher_suites := [non_neg_integer()], alpn_protocols := [binary()], signature_algorithms := [non_neg_integer()], key_share => binary(), server_name => binary(), transport_params => roadrunner_quic_transport_params:params()}

Function Index

build_encrypted_extensions/1
build_server_hello/1
parse_client_hello/1

Function Details

build_encrypted_extensions/1

build_encrypted_extensions(Opts::#{alpn => binary(), transport_params => roadrunner_quic_transport_params:params()}) -> iolist()

build_server_hello/1

build_server_hello(X1::#{random := binary(), session_id := binary(), key_share := binary()}) -> iolist()

parse_client_hello/1

parse_client_hello(X1::binary()) -> {ok, client_hello()} | {error, atom()}


Generated by EDoc