dtls_record
dtls_atom_version() = dtlsv1 | 'dtlsv1.2'
get_dtls_records(Data::binary(), Buffer::binary()) -> {[binary()], binary()} | #alert{}
encode_plain_text(Type, Version, Data, Connection_states) -> term()
decode_cipher_text(Ssl_tls, Connection_states) -> term()
encode_handshake(Frag::iolist(), Version::dtls_version(), Connection_states::#connection_states{}) -> {iolist(), #connection_states{}}
encode_change_cipher_spec(Version::dtls_version(), Connection_states::#connection_states{}) -> {iolist(), #connection_states{}}
protocol_version(X1::dtls_atom_version() | dtls_version()) -> dtls_version() | dtls_atom_version()
lowest_protocol_version(Version::dtls_version(), X2::dtls_version()) -> dtls_version()
highest_protocol_version(Vers::[dtls_version()]) -> dtls_version()
supported_protocol_versions() -> [dtls_version()]
is_acceptable_version(Version::dtls_version(), Supported::[dtls_version()]) -> boolean()
init_connection_state_seq(X1::dtls_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) -> #connection_states{}