Module roadrunner_quic_tls_server

Data Types

config()

config() = #{cert_chain := [binary()], priv_key := public_key:private_key(), alpn := binary(), transport_params := roadrunner_quic_transport_params:params(), eph_pub := binary(), eph_priv := binary(), server_random := binary(), peer_scid := binary()}

flight()

flight() = #{initial := iolist(), handshake := iolist()}

install()

install() = {handshake | application, server | client, roadrunner_quic_keys:keys()}

t()

abstract datatype: t()

Function Index

new/1
process_client_finished/2
process_client_hello/2

Function Details

new/1

new(X1::config()) -> t()

process_client_finished/2

process_client_finished(ClientFinishedBody::binary(), Server::t()) -> ok | {error, handshake_failure}

process_client_hello/2

process_client_hello(ClientHelloBody::binary(), Server::t()) -> {ok, flight(), [install()], roadrunner_quic_transport_params:params(), t()} | {error, atom()}


Generated by EDoc