diff options
author | jospaeth <spaethj@in.tum.de> | 2020-07-05 13:06:14 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-07-09 14:56:09 +0200 |
commit | eeb3610df1d4f102e60abf20d22a3febc0f9b273 (patch) | |
tree | 566a1cc8d4d14e43c6001265185f6118f0af5bfd /src/include/gnunet_reclaim_plugin.h | |
parent | c9ea27bc037eeae5ee39b05cd11b06e48399fb43 (diff) | |
download | gnunet-eeb3610df1d4f102e60abf20d22a3febc0f9b273.tar.gz gnunet-eeb3610df1d4f102e60abf20d22a3febc0f9b273.zip |
create escrow component
Diffstat (limited to 'src/include/gnunet_reclaim_plugin.h')
-rw-r--r-- | src/include/gnunet_reclaim_plugin.h | 89 |
1 files changed, 0 insertions, 89 deletions
diff --git a/src/include/gnunet_reclaim_plugin.h b/src/include/gnunet_reclaim_plugin.h index c9875e87c..21db55655 100644 --- a/src/include/gnunet_reclaim_plugin.h +++ b/src/include/gnunet_reclaim_plugin.h | |||
@@ -201,51 +201,6 @@ typedef int (*GNUNET_RECLAIM_AttestationGetExpirationFunction) ( | |||
201 | const struct GNUNET_RECLAIM_Attestation *attest, | 201 | const struct GNUNET_RECLAIM_Attestation *attest, |
202 | struct GNUNET_TIME_Absolute *expiration); | 202 | struct GNUNET_TIME_Absolute *expiration); |
203 | 203 | ||
204 | /** | ||
205 | * Function called to start the escrow of the key | ||
206 | * | ||
207 | * @param ego the identity ego containing the private key | ||
208 | * @param escrowAnchor the anchor needed to restore the key | ||
209 | * @return GNUNET_OK if successful | ||
210 | */ | ||
211 | typedef int (*GNUNET_RECLAIM_EscrowStartKeyEscrowFunction) ( | ||
212 | struct GNUNET_IDENTITY_Ego *ego, | ||
213 | void *escrowAnchor); | ||
214 | |||
215 | /** | ||
216 | * Function called to renew the escrow of the key | ||
217 | * | ||
218 | * @param ego the identity ego containing the private key | ||
219 | * @param escrowAnchor the anchor needed to restore the key | ||
220 | * @return GNUNET_OK if successful | ||
221 | */ | ||
222 | typedef int (*GNUNET_RECLAIM_EscrowRenewKeyEscrowFunction) ( | ||
223 | struct GNUNET_IDENTITY_Ego *ego, | ||
224 | void *escrowAnchor); | ||
225 | |||
226 | /** | ||
227 | * Function called to start the escrow of the attributes | ||
228 | * | ||
229 | * @param identity the private key of the identity | ||
230 | * @param escrowAnchor the anchor needed to restore the attributes | ||
231 | * @return GNUNET_OK if successful | ||
232 | */ | ||
233 | typedef int (*GNUNET_RECLAIM_EscrowStartAttributesEscrowFunction) ( | ||
234 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, | ||
235 | void *escrowAnchor); | ||
236 | |||
237 | /** | ||
238 | * Function called to renew the escrow of the attributes | ||
239 | * | ||
240 | * @param identity the private key of the identity | ||
241 | * @param escrowAnchor the anchor needed to restore the attributes | ||
242 | * @return GNUNET_OK if successful | ||
243 | */ | ||
244 | typedef int (*GNUNET_RECLAIM_EscrowRenewAttributesEscrowFunction) ( | ||
245 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, | ||
246 | void *escrowAnchor); | ||
247 | |||
248 | |||
249 | 204 | ||
250 | /** | 205 | /** |
251 | * Each plugin is required to return a pointer to a struct of this | 206 | * Each plugin is required to return a pointer to a struct of this |
@@ -327,50 +282,6 @@ struct GNUNET_RECLAIM_AttestationPluginFunctions | |||
327 | GNUNET_RECLAIM_AttestationGetExpirationFunction get_expiration; | 282 | GNUNET_RECLAIM_AttestationGetExpirationFunction get_expiration; |
328 | }; | 283 | }; |
329 | 284 | ||
330 | /** | ||
331 | * Each plugin is required to return a pointer to a struct of this | ||
332 | * type as the return value from its entry point. | ||
333 | */ | ||
334 | struct GNUNET_RECLAIM_EscrowKeyPluginFunctions | ||
335 | { | ||
336 | /** | ||
337 | * Closure for all of the callbacks. | ||
338 | */ | ||
339 | void *cls; | ||
340 | |||
341 | /** | ||
342 | * Start key escrow | ||
343 | */ | ||
344 | GNUNET_RECLAIM_EscrowStartKeyEscrowFunction start_key_escrow; | ||
345 | |||
346 | /** | ||
347 | * Renew key escrow | ||
348 | */ | ||
349 | GNUNET_RECLAIM_EscrowRenewKeyEscrowFunction renew_key_escrow; | ||
350 | }; | ||
351 | |||
352 | /** | ||
353 | * Each plugin is required to return a pointer to a struct of this | ||
354 | * type as the return value from its entry point. | ||
355 | */ | ||
356 | struct GNUNET_RECLAIM_EscrowAttributesPluginFunctions | ||
357 | { | ||
358 | /** | ||
359 | * Closure for all of the callbacks. | ||
360 | */ | ||
361 | void *cls; | ||
362 | |||
363 | /** | ||
364 | * Start attributes escrow | ||
365 | */ | ||
366 | GNUNET_RECLAIM_EscrowStartAttributesEscrowFunction start_attributes_escrow; | ||
367 | |||
368 | /** | ||
369 | * Renew attributes escrow | ||
370 | */ | ||
371 | GNUNET_RECLAIM_EscrowRenewAttributesEscrowFunction renew_attributes_escrow; | ||
372 | }; | ||
373 | |||
374 | 285 | ||
375 | #if 0 /* keep Emacsens' auto-indent happy */ | 286 | #if 0 /* keep Emacsens' auto-indent happy */ |
376 | { | 287 | { |