A file message body. More...
#include <gnunet_messenger_service.h>
Data Fields | |
| struct GNUNET_CRYPTO_SymmetricSessionKey | key |
| The symmetric key to decrypt the file. | |
| struct GNUNET_HashCode | hash |
| The hash of the original file. | |
| char | name [NAME_MAX] |
| The name of the original file. | |
| char * | uri |
| The uri of the encrypted file. | |
A file message body.
This allows sending necessary details about an uploaded encrypted file to allow access to it.
Message-body-size: 383+ bytes
Definition at line 631 of file gnunet_messenger_service.h.
| struct GNUNET_CRYPTO_SymmetricSessionKey GNUNET_MESSENGER_MessageFile::key |
The symmetric key to decrypt the file.
Definition at line 636 of file gnunet_messenger_service.h.
Referenced by decode_message_body(), encode_message_body(), and get_message_body_kind_size().
| struct GNUNET_HashCode GNUNET_MESSENGER_MessageFile::hash |
The hash of the original file.
Definition at line 641 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 646 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 651 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().