diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2017-10-06 16:55:48 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2017-10-06 16:55:48 +0200 |
commit | 371458b9ed084c6d510a03c9ea27cb8162f0e87a (patch) | |
tree | 67b782f2969f6c20389ec8083dd92c78d536e48d /src/include/gnunet_identity_provider_service.h | |
parent | cc838240da0d28fa1fc6d7a97da2808a7a622365 (diff) | |
download | gnunet-371458b9ed084c6d510a03c9ea27cb8162f0e87a.tar.gz gnunet-371458b9ed084c6d510a03c9ea27cb8162f0e87a.zip |
-revise API naming; cleanups
Diffstat (limited to 'src/include/gnunet_identity_provider_service.h')
-rw-r--r-- | src/include/gnunet_identity_provider_service.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/include/gnunet_identity_provider_service.h b/src/include/gnunet_identity_provider_service.h index fb5131567..d1b437128 100644 --- a/src/include/gnunet_identity_provider_service.h +++ b/src/include/gnunet_identity_provider_service.h | |||
@@ -319,12 +319,12 @@ typedef void | |||
319 | * @return handle to abort the operation | 319 | * @return handle to abort the operation |
320 | */ | 320 | */ |
321 | struct GNUNET_IDENTITY_PROVIDER_Operation * | 321 | struct GNUNET_IDENTITY_PROVIDER_Operation * |
322 | GNUNET_IDENTITY_PROVIDER_idp_ticket_issue (struct GNUNET_IDENTITY_PROVIDER_Handle *id, | 322 | GNUNET_IDENTITY_PROVIDER_ticket_issue (struct GNUNET_IDENTITY_PROVIDER_Handle *id, |
323 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *iss, | 323 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *iss, |
324 | const struct GNUNET_CRYPTO_EcdsaPublicKey *rp, | 324 | const struct GNUNET_CRYPTO_EcdsaPublicKey *rp, |
325 | const struct GNUNET_IDENTITY_PROVIDER_AttributeList *attrs, | 325 | const struct GNUNET_IDENTITY_PROVIDER_AttributeList *attrs, |
326 | GNUNET_IDENTITY_PROVIDER_TicketCallback cb, | 326 | GNUNET_IDENTITY_PROVIDER_TicketCallback cb, |
327 | void *cb_cls); | 327 | void *cb_cls); |
328 | 328 | ||
329 | /** TODO | 329 | /** TODO |
330 | * Revoked an issued ticket. The relying party will be unable to retrieve | 330 | * Revoked an issued ticket. The relying party will be unable to retrieve |
@@ -338,11 +338,11 @@ GNUNET_IDENTITY_PROVIDER_idp_ticket_issue (struct GNUNET_IDENTITY_PROVIDER_Handl | |||
338 | * @return handle to abort the operation | 338 | * @return handle to abort the operation |
339 | */ | 339 | */ |
340 | struct GNUNET_IDENTITY_PROVIDER_Operation * | 340 | struct GNUNET_IDENTITY_PROVIDER_Operation * |
341 | GNUNET_IDENTITY_PROVIDER_idp_ticket_revoke (struct GNUNET_IDENTITY_PROVIDER_Handle *id, | 341 | GNUNET_IDENTITY_PROVIDER_ticket_revoke (struct GNUNET_IDENTITY_PROVIDER_Handle *id, |
342 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, | 342 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, |
343 | const struct GNUNET_IDENTITY_PROVIDER_Ticket *ticket, | 343 | const struct GNUNET_IDENTITY_PROVIDER_Ticket *ticket, |
344 | GNUNET_IDENTITY_PROVIDER_ContinuationWithStatus cb, | 344 | GNUNET_IDENTITY_PROVIDER_ContinuationWithStatus cb, |
345 | void *cb_cls); | 345 | void *cb_cls); |
346 | 346 | ||
347 | 347 | ||
348 | 348 | ||
@@ -351,18 +351,18 @@ GNUNET_IDENTITY_PROVIDER_idp_ticket_revoke (struct GNUNET_IDENTITY_PROVIDER_Hand | |||
351 | * and used to retrieve identity information from the issuer | 351 | * and used to retrieve identity information from the issuer |
352 | * | 352 | * |
353 | * @param id the identity provider to use | 353 | * @param id the identity provider to use |
354 | * @param identity the identity that is the subject of the issued ticket (the relying party) | 354 | * @param identity the identity that is the subject of the issued ticket (the audience) |
355 | * @param ticket the issued ticket to consume | 355 | * @param ticket the issued ticket to consume |
356 | * @param cb the callback to call | 356 | * @param cb the callback to call |
357 | * @param cb_cls the callback closure | 357 | * @param cb_cls the callback closure |
358 | * @return handle to abort the operation | 358 | * @return handle to abort the operation |
359 | */ | 359 | */ |
360 | struct GNUNET_IDENTITY_PROVIDER_Operation * | 360 | struct GNUNET_IDENTITY_PROVIDER_Operation * |
361 | GNUNET_IDENTITY_PROVIDER_rp_ticket_consume (struct GNUNET_IDENTITY_PROVIDER_Handle *id, | 361 | GNUNET_IDENTITY_PROVIDER_ticket_consume (struct GNUNET_IDENTITY_PROVIDER_Handle *id, |
362 | const struct GNUNET_CRYPTO_EcdsaPrivateKey * identity, | 362 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, |
363 | const struct GNUNET_IDENTITY_PROVIDER_Ticket *ticket, | 363 | const struct GNUNET_IDENTITY_PROVIDER_Ticket *ticket, |
364 | GNUNET_IDENTITY_PROVIDER_AttributeResult cb, | 364 | GNUNET_IDENTITY_PROVIDER_AttributeResult cb, |
365 | void *cb_cls); | 365 | void *cb_cls); |
366 | 366 | ||
367 | /** | 367 | /** |
368 | * Lists all tickets that have been issued to remote | 368 | * Lists all tickets that have been issued to remote |
@@ -382,14 +382,14 @@ GNUNET_IDENTITY_PROVIDER_rp_ticket_consume (struct GNUNET_IDENTITY_PROVIDER_Hand | |||
382 | * @return an iterator handle to use for iteration | 382 | * @return an iterator handle to use for iteration |
383 | */ | 383 | */ |
384 | struct GNUNET_IDENTITY_PROVIDER_TicketIterator * | 384 | struct GNUNET_IDENTITY_PROVIDER_TicketIterator * |
385 | GNUNET_IDENTITY_PROVIDER_idp_ticket_iteration_start (struct GNUNET_IDENTITY_PROVIDER_Handle *h, | 385 | GNUNET_IDENTITY_PROVIDER_ticket_iteration_start (struct GNUNET_IDENTITY_PROVIDER_Handle *h, |
386 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, | 386 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *identity, |
387 | GNUNET_SCHEDULER_TaskCallback error_cb, | 387 | GNUNET_SCHEDULER_TaskCallback error_cb, |
388 | void *error_cb_cls, | 388 | void *error_cb_cls, |
389 | GNUNET_IDENTITY_PROVIDER_TicketCallback proc, | 389 | GNUNET_IDENTITY_PROVIDER_TicketCallback proc, |
390 | void *proc_cls, | 390 | void *proc_cls, |
391 | GNUNET_SCHEDULER_TaskCallback finish_cb, | 391 | GNUNET_SCHEDULER_TaskCallback finish_cb, |
392 | void *finish_cb_cls); | 392 | void *finish_cb_cls); |
393 | 393 | ||
394 | /** | 394 | /** |
395 | * Lists all tickets that have been issued to remote | 395 | * Lists all tickets that have been issued to remote |