tls_record
tls_atom_version() = sslv3 | tlsv1 | 'tlsv1.1' | 'tlsv1.2'
get_tls_records(Data::binary(), Buffer::binary()) -> {[binary()], binary()} | #alert{}
encode_plain_text(Type, Version, Data, Connection_states) -> term()
decode_cipher_text(Ssl_tls::#ssl_tls{}, Connection_states::#connection_states{}) -> {#ssl_tls{}, #connection_states{}} | #alert{}
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(Versions::[tls_version()]) -> tls_version()
supported_protocol_versions() -> [tls_version()]
is_acceptable_version(X1::tls_version()) -> boolean()
is_acceptable_version(Version::tls_version(), Supported::[tls_version()]) -> boolean()