ssl_session

DATA TYPES

db_handle() = term()
host() = ip_address() (see module inet) | hostname() (see module inet)
seconds() = integer()
session_id() = 0 | binary()

Functions


is_new(SessionId::session_id(), ServerDecision::session_id()) -> boolean()

id(ClientInfo::{host(), port_number() (see module inet), #ssl_options{}}, Cache::db_handle(), CacheCb::atom(), OwnCert::undefined | binary()) -> binary()

id(Port::port_number() (see module inet), SuggestedSessionId::binary(), Ssl_options::#ssl_options{}, Cache::db_handle(), CacheCb::atom(), SecondLifeTime::seconds(), OwnCert::binary()) -> binary()

valid_session(Session::#session{}, LifeTime::seconds()) -> boolean()