GNUnet  0.19.0
gnunet_signatures.h
Go to the documentation of this file.
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 
34 #ifdef __cplusplus
35 extern "C" {
36 #if 0 /* keep Emacsens' auto-indent happy */
37 }
38 #endif
39 #endif
40 
41 
52 #define GNUNET_SIGNATURE_PURPOSE_TEST 0
53 
54 
58 #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_PONG_OWN 1
59 
60 
64 #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DISCONNECT 2
65 
66 
70 #define GNUNET_SIGNATURE_PURPOSE_REVOCATION 3
71 
72 
76 #define GNUNET_SIGNATURE_PURPOSE_NAMESPACE_ADVERTISEMENT 4
77 
78 
82 #define GNUNET_SIGNATURE_PURPOSE_PEER_PLACEMENT 5
83 
84 
88 #define GNUNET_SIGNATURE_PURPOSE_DHT_HOP 6
89 
90 
94 #define GNUNET_SIGNATURE_PURPOSE_HELLO 7
95 
96 
100 #define GNUNET_SIGNATURE_PURPOSE_DNS_RECORD 11
101 
102 
106 #define GNUNET_SIGNATURE_PURPOSE_CHAT_MESSAGE 12
107 
108 
112 #define GNUNET_SIGNATURE_PURPOSE_CHAT_RECEIPT 13
113 
114 
118 #define GNUNET_SIGNATURE_PURPOSE_NSE_SEND 14
119 
120 
124 #define GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN 15
125 
126 
130 #define GNUNET_SIGNATURE_PURPOSE_SET_ECC_KEY 16
131 
132 
136 #define GNUNET_SIGNATURE_PURPOSE_FS_UBLOCK 17
137 
138 
142 #define GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT 18
143 
144 
148 #define GNUNET_SIGNATURE_PURPOSE_CONVERSATION_RING 20
149 
150 
154 #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG1 21
155 
156 
160 #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DKG2 22
161 
162 
166 #define GNUNET_SIGNATURE_PURPOSE_SECRETSHARING_DECRYPTION 23
167 
168 
172 #define GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN 27
173 
174 
178 #define GNUNET_SIGNATURE_PURPOSE_DELEGATE 28
179 
180 
184 #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_ADDRESS 29
185 
186 
190 #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_EPHEMERAL 30
191 
192 
196 #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE 31
197 
198 
202 #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_REKEY 32
203 
204 
208 #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_HANDSHAKE 33
209 
210 
214 #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_UDP_BROADCAST 34
215 
216 
220 #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE 35
221 
222 
226 #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP 36
227 
228 
232 #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR 37
233 
234 
238 #define GNUNET_SIGNATURE_PURPOSE_CADET_CONNECTION_INITIATOR 38
239 
240 
244 #define GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE_ACK 39
245 
246 
247 #if 0 /* keep Emacsens' auto-indent happy */
248 {
249 #endif
250 #ifdef __cplusplus
251 }
252 #endif
253 
254 #endif