diff options
author | Markus Voggenreiter <Markus.Voggenreiter@tum.de> | 2019-11-02 15:42:09 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-01-13 13:31:04 +0100 |
commit | 554abc7d4c13e59a64d95770e68da8033de44c51 (patch) | |
tree | e9c89f63b182b966ce3e3a2dba3f79f16db26bb1 /src/reclaim/reclaim.h | |
parent | 0688b167e707e1c60d1aa3c220bc6b99d60fd662 (diff) | |
download | gnunet-554abc7d4c13e59a64d95770e68da8033de44c51.tar.gz gnunet-554abc7d4c13e59a64d95770e68da8033de44c51.zip |
Prepared JWT Plugin
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 |