GNUnet  0.19.0
GNUNET_MESSENGER_MessageHeader Struct Reference

The header of a GNUNET_MESSENGER_Message. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessageHeader:
[legend]

Data Fields

struct GNUNET_IDENTITY_Signature signature
 The signature of the senders private key. More...
 
struct GNUNET_TIME_AbsoluteNBO timestamp
 The timestamp of the message. More...
 
struct GNUNET_ShortHashCode sender_id
 The senders id inside of the room the message was sent in. More...
 
struct GNUNET_HashCode previous
 The hash of the previous message from the senders perspective. More...
 
enum GNUNET_MESSENGER_MessageKind kind
 The kind of the message. More...
 

Detailed Description

The header of a GNUNET_MESSENGER_Message.

This allows authentication of the sender, temporal ordering and finding potentially missed messages.

Message-header-size: 40+ bytes

Definition at line 223 of file gnunet_messenger_service.h.

Field Documentation

◆ signature

struct GNUNET_IDENTITY_Signature GNUNET_MESSENGER_MessageHeader::signature

The signature of the senders private key.

Definition at line 115 of file gnunet_messenger_service.h.

Referenced by decode_message(), encode_message(), get_message_size(), hash_message(), pack_message(), sign_message(), and verify_message().

◆ timestamp

◆ sender_id

◆ previous

struct GNUNET_HashCode GNUNET_MESSENGER_MessageHeader::previous

◆ kind


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