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
- get_dtls_records/1
- encode_plain_text/4
- decode_cipher_text/2
- protocol_version/1
- lowest_protocol_version/1
- highest_protocol_version/1
- supported_protocol_versions/0
- is_acceptable_version/1
- init_connection_state_seq/1
- current_connection_state_epoch/2
- connection_state_by_epoch/2
- set_connection_state_by_epoch/3
- cipher/4
- decipher/2