diff options
Diffstat (limited to 'src/include/gnunet_signatures.h')
-rw-r--r-- | src/include/gnunet_signatures.h | 211 |
1 files changed, 0 insertions, 211 deletions
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h deleted file mode 100644 index ff34485c8..000000000 --- a/src/include/gnunet_signatures.h +++ /dev/null | |||
@@ -1,211 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | Copyright (C) 2012-2022 GNUnet e.V. | ||
4 | |||
5 | GNUnet is free software: you can redistribute it and/or modify it | ||
6 | under the terms of the GNU Affero General Public License as published | ||
7 | by the Free Software Foundation, either version 3 of the License, | ||
8 | or (at your option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Affero General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Affero General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | SPDX-License-Identifier: AGPL3.0-or-later | ||
19 | */ | ||
20 | #ifndef GNUNET_SIGNATURES_H | ||
21 | #define GNUNET_SIGNATURES_H | ||
22 | |||
23 | /** | ||
24 | * WARNING: | ||
25 | * This header is generated! | ||
26 | * In order to add a signature purpose, you must register | ||
27 | * them in GANA, and then use the header generation script | ||
28 | * to create an update of this file. You may then replace this | ||
29 | * file with the update. | ||
30 | */ | ||
31 | |||
32 | |||
33 | |||
34 | #ifdef __cplusplus | ||
35 | extern "C" { | ||
36 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
37 | } | ||
38 | #endif | ||
39 | #endif | ||
40 | |||
41 | |||
42 | /** | ||
43 | * Network signature purpose definitions. Note that all values | ||
44 | * must be uint32_t and encoded in network byte order in the structs. | ||
45 | */ | ||
46 | |||
47 | |||
48 | |||
49 | /** | ||
50 | * Test signature, not valid for anything other than writing a test. (Note that the signature verification code will accept this value). (GNUnet) | ||
51 | */ | ||
52 | #define GNUNET_SIGNATURE_PURPOSE_TEST 0 | ||
53 | |||
54 | /** | ||
55 | * Signature for confirming that this peer uses a particular address. (GNUnet-TRANSPORT) | ||
56 | */ | ||
57 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN 1 | ||
58 | |||
59 | /** | ||
60 | * Signature for confirming that this peer intends to disconnect. (GNUnet-TRANSPORT) | ||
61 | */ | ||
62 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DISCONNECT 2 | ||
63 | |||
64 | /** | ||
65 | * Signature for confirming a key revocation. (GNUnet-Revocation) | ||
66 | */ | ||
67 | #define GNUNET_SIGNATURE_PURPOSE_REVOCATION 3 | ||
68 | |||
69 | /** | ||
70 | * Signature for a namespace/pseudonym advertisement (by the namespace owner). (GNUnet-FS) | ||
71 | */ | ||
72 | #define GNUNET_SIGNATURE_PURPOSE_NAMESPACE_ADVERTISEMENT 4 | ||
73 | |||
74 | /** | ||
75 | * Signature by which a peer affirms that it is providing a certain bit of content for use in LOCation URIs. (GNUnet-FS) | ||
76 | */ | ||
77 | #define GNUNET_SIGNATURE_PURPOSE_PEER_PLACEMENT 5 | ||
78 | |||
79 | /** | ||
80 | * Signature on a GNUNET_DNS_Advertisement. (GNUnet-DNS+Exit) | ||
81 | */ | ||
82 | #define GNUNET_SIGNATURE_PURPOSE_DNS_RECORD 11 | ||
83 | |||
84 | /** | ||
85 | * Signature of a chat message. (GNUnet-MESSENGER) | ||
86 | */ | ||
87 | #define GNUNET_SIGNATURE_PURPOSE_CHAT_MESSAGE 12 | ||
88 | |||
89 | /** | ||
90 | * Signature of confirmation receipt for a chat message. (GNUnet-MESSENGER) | ||
91 | */ | ||
92 | #define GNUNET_SIGNATURE_PURPOSE_CHAT_RECEIPT 13 | ||
93 | |||
94 | /** | ||
95 | * Signature of a network size estimate message. (GNUnet-NSE) | ||
96 | */ | ||
97 | #define GNUNET_SIGNATURE_PURPOSE_NSE_SEND 14 | ||
98 | |||
99 | /** | ||
100 | * Signature of a gnunet naming system record block (GNUnet-GNSRECORD) | ||
101 | */ | ||
102 | #define GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN 15 | ||
103 | |||
104 | /** | ||
105 | * Purpose is to set a session key. (GNUnet-CORE) | ||
106 | */ | ||
107 | #define GNUNET_SIGNATURE_PURPOSE_SET_ECC_KEY 16 | ||
108 | |||
109 | /** | ||
110 | * UBlock Signature, done using DSS, not ECC (GNUnet-FS) | ||
111 | */ | ||
112 | #define GNUNET_SIGNATURE_PURPOSE_FS_UBLOCK 17 | ||
113 | |||
114 | /** | ||
115 | * Accept state in regex DFA. Peer affirms that it offers the matching service. (GNUnet-REGEX) | ||
116 | */ | ||
117 | #define GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT 18 | ||
118 | |||
119 | /** | ||
120 | * Signature of a conversation ring. (GNUnet-CONVERSATION) | ||
121 | */ | ||
122 | #define GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING 20 | ||
123 | |||
124 | /** | ||
125 | * Signature for the first round of distributed key generation. (GNUnet-SECRETSHARING) | ||
126 | */ | ||
127 | #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1 21 | ||
128 | |||
129 | /** | ||
130 | * Signature for the second round of distributed key generation. (GNUnet-SECRETSHARING) | ||
131 | */ | ||
132 | #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG2 22 | ||
133 | |||
134 | /** | ||
135 | * Signature for the cooperative decryption. (GNUnet-SECRETSHARING) | ||
136 | */ | ||
137 | #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DECRYPTION 23 | ||
138 | |||
139 | /** | ||
140 | * Signature for a GNUid Ticket (Reclaim) | ||
141 | */ | ||
142 | #define GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN 27 | ||
143 | |||
144 | /** | ||
145 | * Signature for a GNUnet credential (Reclaim) | ||
146 | */ | ||
147 | #define GNUNET_SIGNATURE_PURPOSE_DELEGATE 28 | ||
148 | |||
149 | /** | ||
150 | * Signature by a peer affirming that this is one of its addresses for the given time period. (GNUnet-TRANSPORT) | ||
151 | */ | ||
152 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_ADDRESS 29 | ||
153 | |||
154 | /** | ||
155 | * Signature by a peer affirming that the given ephemeral key is currently in use by that peer's transport service. (GNUnet-TRANSPORT) | ||
156 | */ | ||
157 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_EPHEMERAL 30 | ||
158 | |||
159 | /** | ||
160 | * Signature used by TCP communicator handshake. (GNUnet-TRANSPORT-TCP) | ||
161 | */ | ||
162 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE 31 | ||
163 | |||
164 | /** | ||
165 | * Signature used by TCP communicator rekey. (GNUnet-TRANSPORT-TCP) | ||
166 | */ | ||
167 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_REKEY 32 | ||
168 | |||
169 | /** | ||
170 | * Signature used by UDP communicator handshake. (GNUnet-TRANSPORT-UDP) | ||
171 | */ | ||
172 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE 33 | ||
173 | |||
174 | /** | ||
175 | * Signature used by UDP broadcasts. (GNUnet-TRANSPORT-UDP) | ||
176 | */ | ||
177 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_BROADCAST 34 | ||
178 | |||
179 | /** | ||
180 | * 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) | ||
181 | */ | ||
182 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE 35 | ||
183 | |||
184 | /** | ||
185 | * Signature by a peer affirming that it is on a DV path. (GNUnet-TRANSPORT) | ||
186 | */ | ||
187 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP 36 | ||
188 | |||
189 | /** | ||
190 | * Signature by a peer affirming that it originated the DV path. (GNUnet-TRANSPORT) | ||
191 | */ | ||
192 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR 37 | ||
193 | |||
194 | /** | ||
195 | * Signature by a peer that like to create a connection. (GNUnet-CADET) | ||
196 | */ | ||
197 | #define GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR 38 | ||
198 | |||
199 | /** | ||
200 | * Signature by a peer sending back the nonce received at initial handshake. (GNUnet-TRANSPORT-TCP) | ||
201 | */ | ||
202 | #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK 39 | ||
203 | |||
204 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
205 | { | ||
206 | #endif | ||
207 | #ifdef __cplusplus | ||
208 | } | ||
209 | #endif | ||
210 | |||
211 | #endif | ||