diff options
Diffstat (limited to 'src/include/gnunet_abd_service.h')
-rw-r--r-- | src/include/gnunet_abd_service.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/include/gnunet_abd_service.h b/src/include/gnunet_abd_service.h index afec880f1..21f668a8d 100644 --- a/src/include/gnunet_abd_service.h +++ b/src/include/gnunet_abd_service.h | |||
@@ -103,7 +103,7 @@ struct GNUNET_ABD_DelegationRecordSet | |||
103 | /** | 103 | /** |
104 | * Public key of the subject this attribute was delegated to | 104 | * Public key of the subject this attribute was delegated to |
105 | */ | 105 | */ |
106 | struct GNUNET_CRYPTO_EcdsaPublicKey subject_key; | 106 | struct GNUNET_IDENTITY_PublicKey subject_key; |
107 | 107 | ||
108 | /** | 108 | /** |
109 | * Length of attribute, may be 0 | 109 | * Length of attribute, may be 0 |
@@ -123,7 +123,7 @@ struct GNUNET_ABD_DelegationSet | |||
123 | /** | 123 | /** |
124 | * Public key of the subject this attribute was delegated to | 124 | * Public key of the subject this attribute was delegated to |
125 | */ | 125 | */ |
126 | struct GNUNET_CRYPTO_EcdsaPublicKey subject_key; | 126 | struct GNUNET_IDENTITY_PublicKey subject_key; |
127 | 127 | ||
128 | uint32_t subject_attribute_len; | 128 | uint32_t subject_attribute_len; |
129 | 129 | ||
@@ -143,12 +143,12 @@ struct GNUNET_ABD_Delegation | |||
143 | /** | 143 | /** |
144 | * The issuer of the delegation | 144 | * The issuer of the delegation |
145 | */ | 145 | */ |
146 | struct GNUNET_CRYPTO_EcdsaPublicKey issuer_key; | 146 | struct GNUNET_IDENTITY_PublicKey issuer_key; |
147 | 147 | ||
148 | /** | 148 | /** |
149 | * Public key of the subject this attribute was delegated to | 149 | * Public key of the subject this attribute was delegated to |
150 | */ | 150 | */ |
151 | struct GNUNET_CRYPTO_EcdsaPublicKey subject_key; | 151 | struct GNUNET_IDENTITY_PublicKey subject_key; |
152 | 152 | ||
153 | /** | 153 | /** |
154 | * Length of the attribute | 154 | * Length of the attribute |
@@ -181,17 +181,17 @@ struct GNUNET_ABD_Delegate | |||
181 | /** | 181 | /** |
182 | * The issuer of the credential | 182 | * The issuer of the credential |
183 | */ | 183 | */ |
184 | struct GNUNET_CRYPTO_EcdsaPublicKey issuer_key; | 184 | struct GNUNET_IDENTITY_PublicKey issuer_key; |
185 | 185 | ||
186 | /** | 186 | /** |
187 | * Public key of the subject this credential was issued to | 187 | * Public key of the subject this credential was issued to |
188 | */ | 188 | */ |
189 | struct GNUNET_CRYPTO_EcdsaPublicKey subject_key; | 189 | struct GNUNET_IDENTITY_PublicKey subject_key; |
190 | 190 | ||
191 | /** | 191 | /** |
192 | * Signature of this credential | 192 | * Signature of this credential |
193 | */ | 193 | */ |
194 | struct GNUNET_CRYPTO_EcdsaSignature signature; | 194 | struct GNUNET_IDENTITY_Signature signature; |
195 | 195 | ||
196 | /** | 196 | /** |
197 | * Expiration of this credential | 197 | * Expiration of this credential |
@@ -318,9 +318,9 @@ typedef void (*GNUNET_ABD_RemoveDelegateResultProcessor) (void *cls, | |||
318 | */ | 318 | */ |
319 | struct GNUNET_ABD_Request* | 319 | struct GNUNET_ABD_Request* |
320 | GNUNET_ABD_verify (struct GNUNET_ABD_Handle *handle, | 320 | GNUNET_ABD_verify (struct GNUNET_ABD_Handle *handle, |
321 | const struct GNUNET_CRYPTO_EcdsaPublicKey *issuer_key, | 321 | const struct GNUNET_IDENTITY_PublicKey *issuer_key, |
322 | const char *issuer_attribute, | 322 | const char *issuer_attribute, |
323 | const struct GNUNET_CRYPTO_EcdsaPublicKey *subject_key, | 323 | const struct GNUNET_IDENTITY_PublicKey *subject_key, |
324 | uint32_t delegate_count, | 324 | uint32_t delegate_count, |
325 | const struct GNUNET_ABD_Delegate *delegates, | 325 | const struct GNUNET_ABD_Delegate *delegates, |
326 | enum GNUNET_ABD_AlgoDirectionFlags direction, | 326 | enum GNUNET_ABD_AlgoDirectionFlags direction, |
@@ -331,9 +331,9 @@ struct GNUNET_ABD_Request* | |||
331 | 331 | ||
332 | struct GNUNET_ABD_Request* | 332 | struct GNUNET_ABD_Request* |
333 | GNUNET_ABD_collect (struct GNUNET_ABD_Handle *handle, | 333 | GNUNET_ABD_collect (struct GNUNET_ABD_Handle *handle, |
334 | const struct GNUNET_CRYPTO_EcdsaPublicKey *issuer_key, | 334 | const struct GNUNET_IDENTITY_PublicKey *issuer_key, |
335 | const char *issuer_attribute, | 335 | const char *issuer_attribute, |
336 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *subject_key, | 336 | const struct GNUNET_IDENTITY_PrivateKey *subject_key, |
337 | enum GNUNET_ABD_AlgoDirectionFlags direction, | 337 | enum GNUNET_ABD_AlgoDirectionFlags direction, |
338 | GNUNET_ABD_CredentialResultProcessor proc, | 338 | GNUNET_ABD_CredentialResultProcessor proc, |
339 | void *proc_cls, | 339 | void *proc_cls, |
@@ -356,7 +356,7 @@ struct GNUNET_ABD_Request * | |||
356 | GNUNET_ABD_add_delegation (struct GNUNET_ABD_Handle *handle, | 356 | GNUNET_ABD_add_delegation (struct GNUNET_ABD_Handle *handle, |
357 | struct GNUNET_IDENTITY_Ego *issuer, | 357 | struct GNUNET_IDENTITY_Ego *issuer, |
358 | const char *attribute, | 358 | const char *attribute, |
359 | struct GNUNET_CRYPTO_EcdsaPublicKey *subject, | 359 | struct GNUNET_IDENTITY_PublicKey *subject, |
360 | const char *delegated_attribute, | 360 | const char *delegated_attribute, |
361 | GNUNET_ABD_DelegateResultProcessor proc, | 361 | GNUNET_ABD_DelegateResultProcessor proc, |
362 | void *proc_cls); | 362 | void *proc_cls); |
@@ -389,8 +389,8 @@ GNUNET_ABD_remove_delegation (struct GNUNET_ABD_Handle *handle, | |||
389 | * @return handle to the queued request | 389 | * @return handle to the queued request |
390 | */ | 390 | */ |
391 | struct GNUNET_ABD_Delegate* | 391 | struct GNUNET_ABD_Delegate* |
392 | GNUNET_ABD_delegate_issue (const struct GNUNET_CRYPTO_EcdsaPrivateKey *issuer, | 392 | GNUNET_ABD_delegate_issue (const struct GNUNET_IDENTITY_PrivateKey *issuer, |
393 | struct GNUNET_CRYPTO_EcdsaPublicKey *subject, | 393 | struct GNUNET_IDENTITY_PublicKey *subject, |
394 | const char *iss_attr, | 394 | const char *iss_attr, |
395 | const char *sub_attr, | 395 | const char *sub_attr, |
396 | struct GNUNET_TIME_Absolute *expiration); | 396 | struct GNUNET_TIME_Absolute *expiration); |