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.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/src/include/gnunet_credential_service.h b/src/include/gnunet_credential_service.h
index b996b77db..088d0c75e 100644
--- a/src/include/gnunet_credential_service.h
+++ b/src/include/gnunet_credential_service.h
@@ -99,11 +99,6 @@ struct GNUNET_CREDENTIAL_CredentialRecordData {
99 */ 99 */
100 struct GNUNET_CRYPTO_EcdsaPublicKey subject_key; 100 struct GNUNET_CRYPTO_EcdsaPublicKey subject_key;
101 101
102 /**
103 * Flags for this credential
104 */
105 uint32_t credential_flags GNUNET_PACKED;
106
107 /** 102 /**
108 * Expiration time of this credential 103 * Expiration time of this credential
109 */ 104 */
@@ -169,15 +164,6 @@ typedef void (*GNUNET_CREDENTIAL_VerifyResultProcessor) (void *cls,
169 uint32_t result); 164 uint32_t result);
170 165
171/** 166/**
172 * Iterator called on obtained result for an attribute issuance.
173 *
174 * @param cls closure
175 * @param result the record data that can be handed to the subject
176 */
177typedef void (*GNUNET_CREDENTIAL_IssueResultProcessor) (void *cls,
178 struct GNUNET_CREDENTIAL_AttributeRecordData *data);
179
180/**
181 * Iterator called on obtained result for an attribute delegation. 167 * Iterator called on obtained result for an attribute delegation.
182 * 168 *
183 * @param cls closure 169 * @param cls closure
@@ -271,13 +257,11 @@ GNUNET_CREDENTIAL_remove_delegation (struct GNUNET_CREDENTIAL_Handle *handle,
271 * @param attribute the name of the attribute 257 * @param attribute the name of the attribute
272 * @return handle to the queued request 258 * @return handle to the queued request
273 */ 259 */
274struct GNUNET_CREDENTIAL_Request * 260struct GNUNET_CREDENTIAL_CredentialRecordData *
275GNUNET_CREDENTIAL_issue (struct GNUNET_CREDENTIAL_Handle *handle, 261GNUNET_CREDENTIAL_issue (struct GNUNET_CREDENTIAL_Handle *handle,
276 struct GNUNET_IDENTITY_Ego *issuer, 262 const struct GNUNET_CRYPTO_EcdsaPrivateKey *issuer,
277 struct GNUNET_CRYPTO_EcdsaPublicKey *subject, 263 struct GNUNET_CRYPTO_EcdsaPublicKey *subject,
278 const char *attribute, 264 const char *attribute);
279 GNUNET_CREDENTIAL_IssueResultProcessor proc,
280 void *proc_cls);
281 265
282 266
283/** 267/**