GNUnet 0.21.1
gnunet_signatures.h File Reference

Go to the source code of this file.

Macros

#define GNUNET_SIGNATURE_PURPOSE_TEST   0
 WARNING: This header is generated! In order to add a signature purpose, you must register them in GANA, and then use the header generation script to create an update of this file. More...
 
#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN   1
 Signature for confirming that this peer uses a particular address. More...
 
#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DISCONNECT   2
 Signature for confirming that this peer intends to disconnect. More...
 
#define GNUNET_SIGNATURE_PURPOSE_GNS_REVOCATION   3
 GNS zone key revocation (GNS) More...
 
#define GNUNET_SIGNATURE_PURPOSE_NAMESPACE_ADVERTISEMENT   4
 Signature for a namespace/pseudonym advertisement (by the namespace owner). More...
 
#define GNUNET_SIGNATURE_PURPOSE_PEER_PLACEMENT   5
 Signature by which a peer affirms that it is providing a certain bit of content for use in LOCation URIs. More...
 
#define GNUNET_SIGNATURE_PURPOSE_DHT_HOP   6
 Signature by which a peer affirms that it forwarded a message in the DHT. More...
 
#define GNUNET_SIGNATURE_PURPOSE_HELLO   7
 Signature by which a peer affirms its address. More...
 
#define GNUNET_SIGNATURE_PURPOSE_DNS_RECORD   11
 Signature on a GNUNET_DNS_Advertisement. More...
 
#define GNUNET_SIGNATURE_PURPOSE_CHAT_MESSAGE   12
 Signature of a chat message. More...
 
#define GNUNET_SIGNATURE_PURPOSE_CHAT_RECEIPT   13
 Signature of confirmation receipt for a chat message. More...
 
#define GNUNET_SIGNATURE_PURPOSE_NSE_SEND   14
 Signature of a network size estimate message. More...
 
#define GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN   15
 GNS record set signature (GNS) More...
 
#define GNUNET_SIGNATURE_PURPOSE_SET_ECC_KEY   16
 Purpose is to set a session key. More...
 
#define GNUNET_SIGNATURE_PURPOSE_FS_UBLOCK   17
 UBlock Signature, done using DSS, not ECC (GNUnet-FS) More...
 
#define GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT   18
 Accept state in regex DFA. More...
 
#define GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING   20
 Signature of a conversation ring. More...
 
#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1   21
 Signature for the first round of distributed key generation. More...
 
#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG2   22
 Signature for the second round of distributed key generation. More...
 
#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DECRYPTION   23
 Signature for the cooperative decryption. More...
 
#define GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN   27
 Signature for a GNUid Ticket (Reclaim) More...
 
#define GNUNET_SIGNATURE_PURPOSE_DELEGATE   28
 Signature for a GNUnet credential (Reclaim) More...
 
#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_ADDRESS   29
 Signature by a peer affirming that this is one of its addresses for the given time period. More...
 
#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_EPHEMERAL   30
 Signature by a peer affirming that the given ephemeral key is currently in use by that peer's transport service. More...
 
#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE   31
 Signature used by TCP communicator handshake. More...
 
#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_REKEY   32
 Signature used by TCP communicator rekey. More...
 
#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE   33
 Signature used by UDP communicator handshake. More...
 
#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_BROADCAST   34
 Signature used by UDP broadcasts. More...
 
#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE   35
 Signature by a peer affirming that it received a challenge (and stating how long it expects the address on which the challenge was received to remain valid). More...
 
#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP   36
 Signature by a peer affirming that it is on a DV path. More...
 
#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR   37
 Signature by a peer affirming that it originated the DV path. More...
 
#define GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR   38
 Signature by a peer that like to create a connection. More...
 
#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK   39
 Signature by a peer sending back the nonce received at initial handshake. More...
 

Macro Definition Documentation

◆ GNUNET_SIGNATURE_PURPOSE_TEST

#define GNUNET_SIGNATURE_PURPOSE_TEST   0

WARNING: This header is generated! In order to add a signature purpose, you must register them in GANA, and then use the header generation script to create an update of this file.

You may then replace this file with the update. Network signature purpose definitions. Note that all values must be uint32_t and encoded in network byte order in the structs. Test signature, not valid for anything other than writing a test. (Note that the signature verification code will accept this value). (GNUnet)

Definition at line 52 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN

#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN   1

Signature for confirming that this peer uses a particular address.

(GNUnet-TRANSPORT)

Definition at line 58 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DISCONNECT

#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DISCONNECT   2

Signature for confirming that this peer intends to disconnect.

(GNUnet-TRANSPORT)

Definition at line 64 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_GNS_REVOCATION

#define GNUNET_SIGNATURE_PURPOSE_GNS_REVOCATION   3

GNS zone key revocation (GNS)

Definition at line 70 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_NAMESPACE_ADVERTISEMENT

#define GNUNET_SIGNATURE_PURPOSE_NAMESPACE_ADVERTISEMENT   4

Signature for a namespace/pseudonym advertisement (by the namespace owner).

(GNUnet-FS)

Definition at line 76 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_PEER_PLACEMENT

#define GNUNET_SIGNATURE_PURPOSE_PEER_PLACEMENT   5

Signature by which a peer affirms that it is providing a certain bit of content for use in LOCation URIs.

(GNUnet-FS)

Definition at line 82 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_DHT_HOP

#define GNUNET_SIGNATURE_PURPOSE_DHT_HOP   6

Signature by which a peer affirms that it forwarded a message in the DHT.

(GNUnet-DHT)

Definition at line 88 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_HELLO

#define GNUNET_SIGNATURE_PURPOSE_HELLO   7

Signature by which a peer affirms its address.

(GNUnet-HELLO)

Definition at line 94 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_DNS_RECORD

#define GNUNET_SIGNATURE_PURPOSE_DNS_RECORD   11

Signature on a GNUNET_DNS_Advertisement.

(GNUnet-DNS+Exit)

Definition at line 100 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_CHAT_MESSAGE

#define GNUNET_SIGNATURE_PURPOSE_CHAT_MESSAGE   12

Signature of a chat message.

(GNUnet-MESSENGER)

Definition at line 106 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_CHAT_RECEIPT

#define GNUNET_SIGNATURE_PURPOSE_CHAT_RECEIPT   13

Signature of confirmation receipt for a chat message.

(GNUnet-MESSENGER)

Definition at line 112 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_NSE_SEND

#define GNUNET_SIGNATURE_PURPOSE_NSE_SEND   14

Signature of a network size estimate message.

(GNUnet-NSE)

Definition at line 118 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN

#define GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN   15

GNS record set signature (GNS)

Definition at line 124 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_SET_ECC_KEY

#define GNUNET_SIGNATURE_PURPOSE_SET_ECC_KEY   16

Purpose is to set a session key.

(GNUnet-CORE)

Definition at line 130 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_FS_UBLOCK

#define GNUNET_SIGNATURE_PURPOSE_FS_UBLOCK   17

UBlock Signature, done using DSS, not ECC (GNUnet-FS)

Definition at line 136 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT

#define GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT   18

Accept state in regex DFA.

Peer affirms that it offers the matching service. (GNUnet-REGEX)

Definition at line 142 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING

#define GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING   20

Signature of a conversation ring.

(GNUnet-CONVERSATION)

Definition at line 148 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1

#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1   21

Signature for the first round of distributed key generation.

(GNUnet-SECRETSHARING)

Definition at line 154 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG2

#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG2   22

Signature for the second round of distributed key generation.

(GNUnet-SECRETSHARING)

Definition at line 160 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DECRYPTION

#define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DECRYPTION   23

Signature for the cooperative decryption.

(GNUnet-SECRETSHARING)

Definition at line 166 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN

#define GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN   27

Signature for a GNUid Ticket (Reclaim)

Definition at line 172 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_DELEGATE

#define GNUNET_SIGNATURE_PURPOSE_DELEGATE   28

Signature for a GNUnet credential (Reclaim)

Definition at line 178 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_TRANSPORT_ADDRESS

#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_ADDRESS   29

Signature by a peer affirming that this is one of its addresses for the given time period.

(GNUnet-TRANSPORT)

Definition at line 184 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_TRANSPORT_EPHEMERAL

#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_EPHEMERAL   30

Signature by a peer affirming that the given ephemeral key is currently in use by that peer's transport service.

(GNUnet-TRANSPORT)

Definition at line 190 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE

#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE   31

Signature used by TCP communicator handshake.

(GNUnet-TRANSPORT-TCP)

Definition at line 196 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_REKEY

#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_REKEY   32

Signature used by TCP communicator rekey.

(GNUnet-TRANSPORT-TCP)

Definition at line 202 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE

#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE   33

Signature used by UDP communicator handshake.

(GNUnet-TRANSPORT-UDP)

Definition at line 208 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_BROADCAST

#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_BROADCAST   34

Signature used by UDP broadcasts.

(GNUnet-TRANSPORT-UDP)

Definition at line 214 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE

#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE   35

Signature by a peer affirming that it received a challenge (and stating how long it expects the address on which the challenge was received to remain valid).

(GNUnet-TRANSPORT)

Definition at line 220 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP

#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP   36

Signature by a peer affirming that it is on a DV path.

(GNUnet-TRANSPORT)

Definition at line 226 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR

#define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR   37

Signature by a peer affirming that it originated the DV path.

(GNUnet-TRANSPORT)

Definition at line 232 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR

#define GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR   38

Signature by a peer that like to create a connection.

(GNUnet-CADET)

Definition at line 238 of file gnunet_signatures.h.

◆ GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK

#define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK   39

Signature by a peer sending back the nonce received at initial handshake.

(GNUnet-TRANSPORT-TCP)

Definition at line 244 of file gnunet_signatures.h.