A file message body. More...
#include <gnunet_messenger_service.h>
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... | |
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 453 of file gnunet_messenger_service.h.
struct GNUNET_CRYPTO_SymmetricSessionKey GNUNET_MESSENGER_MessageFile::key |
The symmetric key to decrypt the file.
Definition at line 458 of file gnunet_messenger_service.h.
Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), decode_message_body(), encode_message_body(), get_message_body_kind_size(), and gnunet-chk.Chk::uri().
struct GNUNET_HashCode GNUNET_MESSENGER_MessageFile::hash |
The hash of the original file.
Definition at line 463 of file gnunet_messenger_service.h.
Referenced by decode_message_body(), encode_message_body(), and get_message_body_kind_size().
char GNUNET_MESSENGER_MessageFile::name[NAME_MAX] |
The name of the original file.
Definition at line 468 of file gnunet_messenger_service.h.
Referenced by decode_message_body(), encode_message_body(), get_message_body_kind_size(), and on_message().
char* GNUNET_MESSENGER_MessageFile::uri |
The uri of the encrypted file.
Definition at line 473 of file gnunet_messenger_service.h.
Referenced by copy_message(), create_message(), decode_message_body(), destroy_message_body(), encode_message_body(), get_message_body_size(), and on_message().