dtls_handshake

Functions


client_hello(Host::host(), Port::port_number() (see module inet), Cookie::term(), Connection_states::#connection_states{}, Ssl_options::#ssl_options{}, Cache::integer(), CacheCb::atom(), Renegotiation::boolean(), OwnCert::der_cert()) -> #client_hello{}

hello(Address, Port, Ssl_tls) -> term()

encode_handshake(Package, Version, MsgSeq, Mss) -> term()

get_dtls_handshake(Ssl_tls::#ssl_tls{}, HsState::#dtls_hs_state{} | binary()) -> {[dtls_handshake()], #ssl_tls{}}

dtls_handshake_new_epoch(Dtls_hs_state::#dtls_hs_state{}) -> #dtls_hs_state{}

dtls_handshake_new_flight(ExpectedReadReq::integer() | undefined) -> #dtls_hs_state{}

View Functions