GNUnet  0.11.x
Data Fields
DecryptSession Struct Reference

Session to cooperatively decrypt a value. More...

Collaboration diagram for DecryptSession:
[legend]

Data Fields

struct GNUNET_CONSENSUS_Handleconsensus
 Handle to the consensus over partial decryptions. More...
 
struct ClientStatecs
 Which client is this for? More...
 
struct GNUNET_TIME_Absolute start
 When should we start communicating for decryption? More...
 
struct GNUNET_TIME_Absolute deadline
 When would we like the ciphertext to be decrypted? More...
 
struct GNUNET_SECRETSHARING_Ciphertext ciphertext
 Ciphertext we want to decrypt. More...
 
struct GNUNET_SECRETSHARING_Shareshare
 Share of the local peer. More...
 
struct DecryptPeerInfoinfo
 State information about other peers. More...
 

Detailed Description

Session to cooperatively decrypt a value.

Definition at line 214 of file gnunet-service-secretsharing.c.

Field Documentation

◆ consensus

struct GNUNET_CONSENSUS_Handle* DecryptSession::consensus

Handle to the consensus over partial decryptions.

Definition at line 219 of file gnunet-service-secretsharing.c.

Referenced by decrypt_conclude(), decrypt_session_destroy(), handle_client_decrypt(), and insert_decrypt_element().

◆ cs

struct ClientState* DecryptSession::cs

Which client is this for?

Definition at line 224 of file gnunet-service-secretsharing.c.

Referenced by decrypt_conclude(), decrypt_session_destroy(), and handle_client_decrypt().

◆ start

struct GNUNET_TIME_Absolute DecryptSession::start

When should we start communicating for decryption?

Definition at line 229 of file gnunet-service-secretsharing.c.

Referenced by handle_client_decrypt().

◆ deadline

struct GNUNET_TIME_Absolute DecryptSession::deadline

When would we like the ciphertext to be decrypted?

Definition at line 235 of file gnunet-service-secretsharing.c.

Referenced by handle_client_decrypt().

◆ ciphertext

struct GNUNET_SECRETSHARING_Ciphertext DecryptSession::ciphertext

Ciphertext we want to decrypt.

Definition at line 240 of file gnunet-service-secretsharing.c.

Referenced by decrypt_conclude(), decrypt_new_element(), handle_client_decrypt(), and insert_decrypt_element().

◆ share

struct GNUNET_SECRETSHARING_Share* DecryptSession::share

Share of the local peer.

Containts other important information, such as the list of other peers.

Definition at line 247 of file gnunet-service-secretsharing.c.

Referenced by decrypt_conclude(), decrypt_new_element(), decrypt_session_destroy(), get_decrypt_peer_info(), handle_client_decrypt(), and insert_decrypt_element().

◆ info

struct DecryptPeerInfo* DecryptSession::info

State information about other peers.

Definition at line 252 of file gnunet-service-secretsharing.c.

Referenced by decrypt_conclude(), decrypt_new_element(), decrypt_session_destroy(), get_decrypt_peer_info(), and handle_client_decrypt().


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