wickr-crypto-c

Data Fields
wickr_transport_packet Struct Reference
Wickr_transport_packet

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

## Detailed Description

A packet used within the wickr_transport_ctx to package up data and related metadata + authentication in one serializable structure.

## Field Documentation

## ◆ body

wickr_transport_packet::body

the main content data of the packet

## ◆ mac

wickr_transport_packet::mac

authentication data used to verify that the body, and meta data have not been tampered with

## ◆ meta

wickr_transport_packet::meta

descriptive elements of the packet that also differentiates it's type as a handshake or data packet

## ◆ network_buffer

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

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

- src/wickrcrypto/include/wickrcrypto/transport_packet.h