wickr-crypto-c
|
callbacks to notify the user of events within the transport More...
#include <transport_ctx.h>
Data Fields | |
wickr_transport_tx_func | tx |
wickr_transport_rx_func | rx |
wickr_transport_state_change_func | on_state |
wickr_transport_validate_identity_func | on_identity_verify |
wickr_transport_psk_func | on_psk_required |
wickr_transport_tx_stream_func | on_tx_stream_gen |
callbacks to notify the user of events within the transport
wickr_transport_callbacks::on_identity_verify |
Called when no remote data is provided for pinning, so the identity of the remote needs to be verified by the application
wickr_transport_callbacks::on_psk_required |
Called when the inbound key exchange requires a psk
wickr_transport_callbacks::on_state |
Called whenever the state of the transport context is updated
wickr_transport_callbacks::on_tx_stream_gen |
Called when a tx stream is generated for a outbound key exchanges
wickr_transport_callbacks::rx |
Called when a buffer passed to wickr_transport_ctx_process_rx_buffer is decoded
wickr_transport_callbacks::tx |
Called when a buffer passed to wickr_transport_ctx_process_tx_buffer is encoded and ready for sending