GNUnet 0.22.2
GNUNET_MESSENGER_MessagePrivate Struct Reference

A private message body. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessagePrivate:
[legend]

Data Fields

struct GNUNET_CRYPTO_EcdhePublicKey key
 The ECDH key to decrypt the message. More...
 
uint16_t length
 The length of the encrypted message. More...
 
char * data
 The data of the encrypted message. More...
 

Detailed Description

A private message body.

This allows to encapsulate any message to be encrypted for only one specific member to receive in a room.

Message-body-size: 32+ bytes

Definition at line 482 of file gnunet_messenger_service.h.

Field Documentation

◆ key

struct GNUNET_CRYPTO_EcdhePublicKey GNUNET_MESSENGER_MessagePrivate::key

◆ length

uint16_t GNUNET_MESSENGER_MessagePrivate::length

The length of the encrypted message.

Definition at line 492 of file gnunet_messenger_service.h.

Referenced by copy_message(), create_message(), decode_message_body(), decrypt_message(), encrypt_message(), and get_message_body_size().

◆ data


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