tls_handshake
Functions
client_hello(Host::host(), Port::port_number() (see module inet), Connection_states::#connection_states{}, Ssl_options::#ssl_options{}, Cache::integer(), CacheCb::atom(), Renegotiation::boolean(), OwnCert::der_cert()) -> #client_hello{}
server_hello(Session::#session{}, Version::tls_version(), Connection_states::#connection_states{}, Hello_extensions::#hello_extensions{}) -> #server_hello{}
hello(Server_hello::#server_hello{} | #client_hello{}, Ssl_options::#ssl_options{}, ConnectionStates0::#connection_states{} | {port_number() (see module inet), #session{}, db_handle(), atom(), #connection_states{}, binary() | undefined}, Renegotiation::boolean()) -> {tls_version(), session_id(), #connection_states{}, binary() | undefined} | {tls_version(), {resumed | new, #session{}}, #connection_states{}, [binary()] | undefined, [oid()] | undefined, [oid()] | undefined} | #alert{}
encode_handshake(Package::tls_handshake(), Version::tls_version()) -> iolist()
get_tls_handshake(Version::tls_version(), Data::binary(), Buffer::binary() | iolist()) -> {[tls_handshake()], binary()}
init_handshake_history() -> tls_handshake_history()
update_handshake_history(Handshake::tls_handshake_history(), Data::term()) -> tls_handshake_history()
decode_handshake(Version, Tag, Msg) -> term()