GNUnet 0.28.0-dev.3-20-gf1136b0b8
 
Loading...
Searching...
No Matches
GNUNET_MESSENGER_RoomEpochKeyRecord Struct Reference

A room epoch key record specifies an epoch key for a given room that can be identified via a given key to enter it and an epoch identifier. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_RoomEpochKeyRecord:
[legend]

Data Fields

struct GNUNET_HashCode key
 The hash identifying the port of the room.
 
struct GNUNET_HashCode hash
 The hash identifying the epoch.
 
struct GNUNET_ShortHashCode identifier
 The short hash identifying the epoch or group key.
 
struct GNUNET_CRYPTO_AeadNonce nonce
 The nonce for the AEAD encryption of the key.
 
struct GNUNET_CRYPTO_AeadMac mac
 The mac from the AEAD encryption of the key.
 
struct GNUNET_CRYPTO_AeadSecretKey shared_key
 The encrypted shared epoch or group key in the room.
 
uint32_t flags
 The flags of the epoch or group key.
 

Detailed Description

A room epoch key record specifies an epoch key for a given room that can be identified via a given key to enter it and an epoch identifier.

Record-size: 236

Definition at line 171 of file gnunet_messenger_service.h.

Field Documentation

◆ key

struct GNUNET_HashCode GNUNET_MESSENGER_RoomEpochKeyRecord::key

The hash identifying the port of the room.

Definition at line 176 of file gnunet_messenger_service.h.

◆ hash

struct GNUNET_HashCode GNUNET_MESSENGER_RoomEpochKeyRecord::hash

The hash identifying the epoch.

Definition at line 181 of file gnunet_messenger_service.h.

Referenced by messenger_string_to_value(), messenger_value_to_string(), and store_handle_epoch_key().

◆ identifier

struct GNUNET_ShortHashCode GNUNET_MESSENGER_RoomEpochKeyRecord::identifier

The short hash identifying the epoch or group key.

Definition at line 186 of file gnunet_messenger_service.h.

Referenced by messenger_string_to_value(), messenger_value_to_string(), and store_handle_epoch_key().

◆ nonce

struct GNUNET_CRYPTO_AeadNonce GNUNET_MESSENGER_RoomEpochKeyRecord::nonce

The nonce for the AEAD encryption of the key.

Definition at line 191 of file gnunet_messenger_service.h.

Referenced by messenger_string_to_value(), and messenger_value_to_string().

◆ mac

struct GNUNET_CRYPTO_AeadMac GNUNET_MESSENGER_RoomEpochKeyRecord::mac

The mac from the AEAD encryption of the key.

Definition at line 196 of file gnunet_messenger_service.h.

Referenced by messenger_string_to_value(), and messenger_value_to_string().

◆ shared_key

struct GNUNET_CRYPTO_AeadSecretKey GNUNET_MESSENGER_RoomEpochKeyRecord::shared_key

The encrypted shared epoch or group key in the room.

Definition at line 201 of file gnunet_messenger_service.h.

Referenced by messenger_string_to_value(), messenger_value_to_string(), and store_handle_epoch_key().

◆ flags

uint32_t GNUNET_MESSENGER_RoomEpochKeyRecord::flags

The flags of the epoch or group key.

Definition at line 206 of file gnunet_messenger_service.h.

Referenced by messenger_string_to_value(), and messenger_value_to_string().


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