UDIF: Universal Digital Identification Framework 1.1.0.0a (A1)
A quantum-secure cryptographic identification
udif_message Struct Reference

A single UDIF application message. More...

#include <message.h>

Data Fields

udif_message_type msgtype
uint32_t payloadlen
uint8_t * payload

Detailed Description

A single UDIF application message.

Instances own their payload buffer. Use udif_message_init and udif_message_dispose to manage lifetime. An empty message (payloadlen == 0, payload == NULL) is the normal shape for udif_msg_keepalive.

Field Documentation

◆ msgtype

Dispatch code

◆ payload

uint8_t* payload

Canonical-encoded body; NULL if payloadlen == 0

◆ payloadlen

uint32_t payloadlen

Length of payload in bytes


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/UDIF/UDIF/message.h