ssl_alert

Functions


encode(Alert::#alert{}, Version::ssl_version() (see module ssl_record), Connection_states::#connection_states{}) -> {iolist(), #connection_states{}}

decode(Bin::binary()) -> [#alert{}] | #alert{}

reason_code(Alert::#alert{}, X2::client | server) -> closed | {essl, string()}

alert_txt(Alert::#alert{}) -> string()