dtls_record

Functions


get_dtls_records(Data::binary(), Buffer::binary()) -> {[binary()], binary()} | #alert{}

encode_plain_text(Type, Version, Data, Connection_state) -> term()

decode_cipher_text(CipherText, ConnnectionStates0) -> term()

protocol_version(X1::tls_atom_version() | tls_version()) -> tls_version() | tls_atom_version()

lowest_protocol_version(Version::tls_version(), X2::tls_version()) -> tls_version()

highest_protocol_version(Vers::[tls_version()]) -> tls_version()

supported_protocol_versions() -> [tls_version()]

is_acceptable_version(Version::tls_version(), Supported::[tls_version()]) -> boolean()

init_connection_state_seq(X1::tls_version(), Connection_states::#connection_states{}) -> #connection_state{}

current_connection_state_epoch(Connection_states::#connection_states{}, X2::read | write) -> integer()

connection_state_by_epoch(Connection_states::#connection_states{}, Epoch::integer(), X3::read | write) -> #connection_state{}

set_connection_state_by_epoch(Connection_states::#connection_states{}, Connection_state::#connection_state{}, X3::read | write) -> ok

cipher(Type, Version, Fragment, CS0) -> term()

decipher(TLS, CS0) -> term()

View Functions