aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnu_name_system_record_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnu_name_system_record_types.h')
-rw-r--r--src/include/gnu_name_system_record_types.h68
1 files changed, 62 insertions, 6 deletions
diff --git a/src/include/gnu_name_system_record_types.h b/src/include/gnu_name_system_record_types.h
index 22b2c472e..8a62cac11 100644
--- a/src/include/gnu_name_system_record_types.h
+++ b/src/include/gnu_name_system_record_types.h
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 Copyright (C) 2012-2021 GNUnet e.V. 3 Copyright (C) 2012-2022 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 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 6 under the terms of the GNU Affero General Public License as published
@@ -38,106 +38,162 @@ extern "C" {
38 38
39 39
40/** 40/**
41 * GNS zone transfer 41 * GNS zone delegation (PKEY)
42 */ 42 */
43#define GNUNET_GNSRECORD_TYPE_PKEY 65536 43#define GNUNET_GNSRECORD_TYPE_PKEY 65536
44 44
45
45/** 46/**
46 * GNS nick names 47 * GNS zone nickname
47 */ 48 */
48#define GNUNET_GNSRECORD_TYPE_NICK 65537 49#define GNUNET_GNSRECORD_TYPE_NICK 65537
49 50
51
50/** 52/**
51 * legacy hostnames 53 * GNS legacy hostname
52 */ 54 */
53#define GNUNET_GNSRECORD_TYPE_LEHO 65538 55#define GNUNET_GNSRECORD_TYPE_LEHO 65538
54 56
57
55/** 58/**
56 * VPN resolution 59 * VPN resolution
57 */ 60 */
58#define GNUNET_GNSRECORD_TYPE_VPN 65539 61#define GNUNET_GNSRECORD_TYPE_VPN 65539
59 62
63
60/** 64/**
61 * Delegation to DNS 65 * Delegation to DNS
62 */ 66 */
63#define GNUNET_GNSRECORD_TYPE_GNS2DNS 65540 67#define GNUNET_GNSRECORD_TYPE_GNS2DNS 65540
64 68
69
65/** 70/**
66 * Boxed records (see TLSA/SRV handling in GNS) 71 * Box record
67 */ 72 */
68#define GNUNET_GNSRECORD_TYPE_BOX 65541 73#define GNUNET_GNSRECORD_TYPE_BOX 65541
69 74
75
70/** 76/**
71 * social place for SecuShare 77 * social place for SecuShare
72 */ 78 */
73#define GNUNET_GNSRECORD_TYPE_PLACE 65542 79#define GNUNET_GNSRECORD_TYPE_PLACE 65542
74 80
81
75/** 82/**
76 * Endpoint for conversation 83 * Endpoint for conversation
77 */ 84 */
78#define GNUNET_GNSRECORD_TYPE_PHONE 65543 85#define GNUNET_GNSRECORD_TYPE_PHONE 65543
79 86
87
80/** 88/**
81 * identity attribute 89 * identity attribute
82 */ 90 */
83#define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE 65544 91#define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE 65544
84 92
93
85/** 94/**
86 * local ticket reference 95 * local ticket reference
87 */ 96 */
88#define GNUNET_GNSRECORD_TYPE_RECLAIM_TICKET 65545 97#define GNUNET_GNSRECORD_TYPE_RECLAIM_TICKET 65545
89 98
99
100/**
101 * SBox record
102 */
103#define GNUNET_GNSRECORD_TYPE_SBOX 65547
104
105
90/** 106/**
91 * For ABD policies 107 * For ABD policies
92 */ 108 */
93#define GNUNET_GNSRECORD_TYPE_DELEGATE 65548 109#define GNUNET_GNSRECORD_TYPE_DELEGATE 65548
94 110
111
95/** 112/**
96 * For ABD reverse lookups 113 * For ABD reverse lookups
97 */ 114 */
98#define GNUNET_GNSRECORD_TYPE_ATTRIBUTE 65549 115#define GNUNET_GNSRECORD_TYPE_ATTRIBUTE 65549
99 116
117
100/** 118/**
101 * for reclaim records 119 * for reclaim records
102 */ 120 */
103#define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE_REF 65550 121#define GNUNET_GNSRECORD_TYPE_RECLAIM_ATTRIBUTE_REF 65550
104 122
123
124/**
125 * Redirection record
126 */
127#define GNUNET_GNSRECORD_TYPE_REDIRECT 65551
128
129
105/** 130/**
106 * For reclaim OIDC client names. 131 * For reclaim OIDC client names.
107 */ 132 */
108#define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_CLIENT 65552 133#define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_CLIENT 65552
109 134
135
110/** 136/**
111 * Used reclaimID OIDC client redirect URIs. 137 * Used reclaimID OIDC client redirect URIs.
112 */ 138 */
113#define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_REDIRECT 65553 139#define GNUNET_GNSRECORD_TYPE_RECLAIM_OIDC_REDIRECT 65553
114 140
141
115/** 142/**
116 * Record type for an attribute attestation (e.g. JWT). 143 * Record type for an attribute attestation (e.g. JWT).
117 */ 144 */
118#define GNUNET_GNSRECORD_TYPE_RECLAIM_CREDENTIAL 65554 145#define GNUNET_GNSRECORD_TYPE_RECLAIM_CREDENTIAL 65554
119 146
147
120/** 148/**
121 * Record type for a presentation of a credential. 149 * Record type for a presentation of a credential.
122 */ 150 */
123#define GNUNET_GNSRECORD_TYPE_RECLAIM_PRESENTATION 65555 151#define GNUNET_GNSRECORD_TYPE_RECLAIM_PRESENTATION 65555
124 152
153
125/** 154/**
126 * Record type for EDKEY zone delegations. 155 * GNS zone delegation (EDKEY)
127 */ 156 */
128#define GNUNET_GNSRECORD_TYPE_EDKEY 65556 157#define GNUNET_GNSRECORD_TYPE_EDKEY 65556
129 158
159
130/** 160/**
131 * Encoding for Robust Immutable Storage (ERIS) binary read capability 161 * Encoding for Robust Immutable Storage (ERIS) binary read capability
132 */ 162 */
133#define GNUNET_GNSRECORD_TYPE_ERIS_READ_CAPABILITY 65557 163#define GNUNET_GNSRECORD_TYPE_ERIS_READ_CAPABILITY 65557
134 164
165
135/** 166/**
136 * Record type to share an entry of a messenger room 167 * Record type to share an entry of a messenger room
137 */ 168 */
138#define GNUNET_GNSRECORD_TYPE_MESSENGER_ROOM_ENTRY 65558 169#define GNUNET_GNSRECORD_TYPE_MESSENGER_ROOM_ENTRY 65558
139 170
140 171
172/**
173 * Record type to indicate a previously delete record (PRIVATE only)
174 */
175#define GNUNET_GNSRECORD_TYPE_TOMBSTONE 65559
176
177
178/**
179 * Record type to store details about a messenger room
180 */
181#define GNUNET_GNSRECORD_TYPE_MESSENGER_ROOM_DETAILS 65560
182
183
184/**
185 * Record type to store DID Documents
186 */
187#define GNUNET_GNSRECORD_TYPE_DID_DOCUMENT 65561
188
189
190/**
191 * Private metadata for a delegation registration
192 */
193#define GNUNET_GNSRECORD_TYPE_GNS_REGISTRAR_METADATA 4294901760
194
195
196
141#if 0 /* keep Emacsens' auto-indent happy */ 197#if 0 /* keep Emacsens' auto-indent happy */
142{ 198{
143#endif 199#endif