GNUnet  0.11.x
Data Fields
RevokeMessage Struct Reference

Revoke key. More...

#include </home/handbook/gnunet/src/revocation/revocation.h>

Collaboration diagram for RevokeMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE. More...
 
uint32_t reserved
 For alignment. More...
 
uint64_t proof_of_work
 Number that causes a hash collision with the public_key. More...
 
struct GNUNET_CRYPTO_EcdsaSignature signature
 Signature confirming revocation. More...
 
struct GNUNET_CRYPTO_EccSignaturePurpose purpose
 Must have purpose GNUNET_SIGNATURE_PURPOSE_REVOCATION, size expands over the public key. More...
 
struct GNUNET_CRYPTO_EcdsaPublicKey public_key
 Key to revoke. More...
 

Detailed Description

Revoke key.

These messages are exchanged between peers (during flooding) but also sent by the client to the service. When the client sends it to the service, the message is answered by a GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE_RESPONSE (which is just in a struct GNUNET_MessageHeader.

Definition at line 79 of file revocation.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader RevokeMessage::header

Type: GNUNET_MESSAGE_TYPE_REVOCATION_REVOKE.

Definition at line 84 of file revocation.h.

Referenced by publicize_rm().

◆ reserved

uint32_t RevokeMessage::reserved

For alignment.

Definition at line 89 of file revocation.h.

Referenced by GNUNET_REVOCATION_revoke(), and run().

◆ proof_of_work

uint64_t RevokeMessage::proof_of_work

Number that causes a hash collision with the public_key.

Definition at line 94 of file revocation.h.

Referenced by block_plugin_revocation_evaluate(), GNUNET_REVOCATION_revoke(), and verify_revoke_message().

◆ signature

struct GNUNET_CRYPTO_EcdsaSignature RevokeMessage::signature

Signature confirming revocation.

Definition at line 99 of file revocation.h.

Referenced by block_plugin_revocation_evaluate(), GNUNET_REVOCATION_revoke(), and verify_revoke_message().

◆ purpose

struct GNUNET_CRYPTO_EccSignaturePurpose RevokeMessage::purpose

◆ public_key

struct GNUNET_CRYPTO_EcdsaPublicKey RevokeMessage::public_key

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