diff options
Diffstat (limited to 'src/reclaim/reclaim.h')
-rw-r--r-- | src/reclaim/reclaim.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/reclaim/reclaim.h b/src/reclaim/reclaim.h index 8e731812e..ff953a096 100644 --- a/src/reclaim/reclaim.h +++ b/src/reclaim/reclaim.h | |||
@@ -153,6 +153,45 @@ struct AttributeResultMessage | |||
153 | */ | 153 | */ |
154 | }; | 154 | }; |
155 | 155 | ||
156 | /** | ||
157 | * Reference plus Attestation is returned from the idp. | ||
158 | */ | ||
159 | struct ReferenceResultMessage | ||
160 | { | ||
161 | /** | ||
162 | * Message header | ||
163 | */ | ||
164 | struct GNUNET_MessageHeader header; | ||
165 | |||
166 | /** | ||
167 | * Unique identifier for this request (for key collisions). | ||
168 | */ | ||
169 | uint32_t id GNUNET_PACKED; | ||
170 | |||
171 | /** | ||
172 | * Length of serialized attestation data | ||
173 | */ | ||
174 | uint16_t attest_len GNUNET_PACKED; | ||
175 | |||
176 | /** | ||
177 | * Length of serialized reference data | ||
178 | */ | ||
179 | uint16_t ref_len GNUNET_PACKED; | ||
180 | |||
181 | /** | ||
182 | * always zero (for alignment) | ||
183 | */ | ||
184 | uint16_t reserved GNUNET_PACKED; | ||
185 | |||
186 | /** | ||
187 | * The public key of the identity. | ||
188 | */ | ||
189 | struct GNUNET_CRYPTO_EcdsaPublicKey identity; | ||
190 | |||
191 | /* followed by: | ||
192 | * serialized reference data + attestation data | ||
193 | */ | ||
194 | }; | ||
156 | 195 | ||
157 | /** | 196 | /** |
158 | * Start a attribute iteration for the given identity | 197 | * Start a attribute iteration for the given identity |