wickr-crypto-c
Data Fields
wickr_transport_callbacks Struct Reference

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
 

Detailed Description

callbacks to notify the user of events within the transport

Field Documentation

◆ on_identity_verify

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

◆ on_psk_required

wickr_transport_callbacks::on_psk_required

Called when the inbound key exchange requires a psk

◆ on_state

wickr_transport_callbacks::on_state

Called whenever the state of the transport context is updated

◆ on_tx_stream_gen

wickr_transport_callbacks::on_tx_stream_gen

Called when a tx stream is generated for a outbound key exchanges

◆ rx

wickr_transport_callbacks::rx

Called when a buffer passed to wickr_transport_ctx_process_rx_buffer is decoded

◆ tx

wickr_transport_callbacks::tx

Called when a buffer passed to wickr_transport_ctx_process_tx_buffer is encoded and ready for sending


The documentation for this struct was generated from the following file: