ssl_record
Functions
init_connection_states(Role::client | server) -> #connection_states{}
current_connection_state(Connection_states::#connection_states{}, X2::read | write) -> #connection_state{}
pending_connection_state(Connection_states::#connection_states{}, X2::read | write) -> term()
activate_pending_connection_state(Connection_states::#connection_states{}, X2::read | write) -> #connection_states{}
set_security_params(Security_parameters::#security_parameters{}, Security_parameters::#security_parameters{}, Connection_states::#connection_states{}) -> #connection_states{}
set_mac_secret(ClientWriteMacSecret::binary(), ServerWriteMacSecret::binary(), X3::client | server, Connection_states::#connection_states{}) -> #connection_states{}
set_master_secret(MasterSecret::binary(), Connection_states::#connection_states{}) -> #connection_states{}
set_renegotiation_flag(Flag::boolean(), Connection_states::#connection_states{}) -> #connection_states{}
set_client_verify_data(X1::current_read | current_write | current_both, Data::binary(), Connection_states::#connection_states{}) -> #connection_states{}
set_server_verify_data(X1::current_read | current_write | current_both, Data::binary(), Connection_states::#connection_states{}) -> #connection_states{}
set_pending_cipher_state(Connection_states::#connection_states{}, Cipher_state::#cipher_state{}, Cipher_state::#cipher_state{}, X4::client | server) -> #connection_states{}
encode_handshake(Frag::iolist(), Version::tls_version(), Connection_states::#connection_states{}) -> {iolist(), #connection_states{}}
encode_alert_record(Alert::#alert{}, Version::tls_version(), Connection_states::#connection_states{}) -> {iolist(), #connection_states{}}
encode_change_cipher_spec(Version::tls_version(), Connection_states::#connection_states{}) -> {iolist(), #connection_states{}}
encode_data(Frag::binary(), Version::tls_version(), Connection_states::#connection_states{}) -> {iolist(), #connection_states{}}
uncompress(X1, Data, CS) -> term()
compress(X1, Data, CS) -> term()
compressions() -> [binary()]
is_correct_mac(Mac, H) -> term()
View Functions
- init_connection_states/1
- current_connection_state/2
- pending_connection_state/2
- activate_pending_connection_state/2
- set_security_params/3
- set_mac_secret/1
- set_master_secret/1
- set_renegotiation_flag/1
- set_client_verify_data/2
- set_server_verify_data/2
- set_pending_cipher_state/4
- encode_handshake/1
- encode_alert_record/2
- encode_change_cipher_spec/1
- encode_data/1
- uncompress/3
- compress/3
- compressions/0
- is_correct_mac/2