aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_credential_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_credential_service.h')
-rw-r--r--src/include/gnunet_credential_service.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/include/gnunet_credential_service.h b/src/include/gnunet_credential_service.h
index 906163c14..d04c0a253 100644
--- a/src/include/gnunet_credential_service.h
+++ b/src/include/gnunet_credential_service.h
@@ -235,7 +235,7 @@ GNUNET_CREDENTIAL_disconnect (struct GNUNET_CREDENTIAL_Handle *handle);
235 * @param c_count the number of credentials found 235 * @param c_count the number of credentials found
236 * @param credential the credentials 236 * @param credential the credentials
237 */ 237 */
238typedef void (*GNUNET_CREDENTIAL_VerifyResultProcessor) (void *cls, 238typedef void (*GNUNET_CREDENTIAL_CredentialResultProcessor) (void *cls,
239 unsigned int d_count, 239 unsigned int d_count,
240 struct GNUNET_CREDENTIAL_Delegation *delegation_chain, 240 struct GNUNET_CREDENTIAL_Delegation *delegation_chain,
241 unsigned int c_count, 241 unsigned int c_count,
@@ -286,10 +286,19 @@ GNUNET_CREDENTIAL_verify (struct GNUNET_CREDENTIAL_Handle *handle,
286 const struct GNUNET_CRYPTO_EcdsaPublicKey *issuer_key, 286 const struct GNUNET_CRYPTO_EcdsaPublicKey *issuer_key,
287 const char *issuer_attribute, 287 const char *issuer_attribute,
288 const struct GNUNET_CRYPTO_EcdsaPublicKey *subject_key, 288 const struct GNUNET_CRYPTO_EcdsaPublicKey *subject_key,
289 const char *subject_attribute, 289 uint32_t credential_count,
290 GNUNET_CREDENTIAL_VerifyResultProcessor proc, 290 const struct GNUNET_CREDENTIAL_Credential *credentials,
291 GNUNET_CREDENTIAL_CredentialResultProcessor proc,
291 void *proc_cls); 292 void *proc_cls);
292 293
294struct GNUNET_CREDENTIAL_Request*
295GNUNET_CREDENTIAL_collect (struct GNUNET_CREDENTIAL_Handle *handle,
296 const struct GNUNET_CRYPTO_EcdsaPublicKey *issuer_key,
297 const char *issuer_attribute,
298 const struct GNUNET_CRYPTO_EcdsaPrivateKey *subject_key,
299 GNUNET_CREDENTIAL_CredentialResultProcessor proc,
300 void *proc_cls);
301
293/** 302/**
294 * Delegate an attribute 303 * Delegate an attribute
295 * 304 *