|
wickr-crypto-c
|
A packet used within the wickr_transport_ctx to package up data and related metadata + authentication in one serializable structure. More...
#include <transport_packet.h>
Data Fields | |
| wickr_buffer_t * | network_buffer |
| wickr_buffer_t * | body |
| wickr_buffer_t * | mac |
| wickr_transport_packet_meta_t | meta |
A packet used within the wickr_transport_ctx to package up data and related metadata + authentication in one serializable structure.
| wickr_transport_packet::body |
the main content data of the packet
| wickr_transport_packet::mac |
authentication data used to verify that the body, and meta data have not been tampered with
| wickr_transport_packet::meta |
descriptive elements of the packet that also differentiates it's type as a handshake or data packet
| wickr_transport_packet::network_buffer |
the serialized representation of the packet, will be null unless wickr_transport_packet_create_from_buffer or wickr_transport_packet_sign has been called