GNUnet  0.19.3
GNUNET_MESSENGER_MessageFile Struct Reference

A file message body. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessageFile:

Data Fields

struct GNUNET_CRYPTO_SymmetricSessionKey key
 The symmetric key to decrypt the file. More...
struct GNUNET_HashCode hash
 The hash of the original file. More...
char name [NAME_MAX]
 The name of the original file. More...
char * uri
 The uri of the encrypted file. More...

Detailed Description

A file message body.

This allows sending necessary details about an uploaded encrypted file to allow access to it.

Message-body-size: 335+ bytes

Definition at line 434 of file gnunet_messenger_service.h.

Field Documentation

◆ key

struct GNUNET_CRYPTO_SymmetricSessionKey GNUNET_MESSENGER_MessageFile::key

◆ hash

struct GNUNET_HashCode GNUNET_MESSENGER_MessageFile::hash

The hash of the original file.

Definition at line 425 of file gnunet_messenger_service.h.

Referenced by decode_message_body(), encode_message_body(), and get_message_body_kind_size().

◆ name

◆ uri

char* GNUNET_MESSENGER_MessageFile::uri

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