tls_v1

Functions


master_secret(PrfAlgo::integer(), PreMasterSecret::binary(), ClientRandom::binary(), ServerRandom::binary()) -> binary()

finished(Role::client | server, Version::integer(), PrfAlgo::integer(), MasterSecret::binary(), Handshake::[binary()]) -> binary()

certificate_verify(HashAlgo::md5sha | sha, Version::integer(), Handshake::[binary()]) -> binary()

setup_keys(Version::integer(), PrfAlgo::integer(), MasterSecret::binary(), ServerRandom::binary(), ClientRandom::binary(), HashSize::integer(), KeyMatLen::integer(), IVSize::integer()) -> {binary(), binary(), binary(), binary(), binary(), binary()}

mac_hash(Method::integer(), Mac_write_secret::binary(), Seq_num::integer(), Type::integer(), X5::tls_version() (see module tls_record), Length::integer(), Fragment::binary()) -> binary()

suites(Minor::1 | 2 | 3) -> [cipher_suite() (see module ssl_cipher)]

prf(MAC, Secret, Label, Seed, WantedLength) -> term()

ecc_curves(Minor) -> term()

oid_to_enum(X1) -> term()

enum_to_oid(X1) -> term()