diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2017-12-04 17:48:22 +0100 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2017-12-04 17:48:22 +0100 |
commit | 6e0922fc29b7bf481bf97c6ed269f85eadadd43e (patch) | |
tree | 24320a8b99f21d83d282ee2d3600d559c7240a60 /src/include/gnunet_identity_attribute_lib.h | |
parent | 24a0b84d503375bf66b5df932cd18631cc88cf8d (diff) | |
download | gnunet-6e0922fc29b7bf481bf97c6ed269f85eadadd43e.tar.gz gnunet-6e0922fc29b7bf481bf97c6ed269f85eadadd43e.zip |
-move jwt back into idp
Diffstat (limited to 'src/include/gnunet_identity_attribute_lib.h')
-rw-r--r-- | src/include/gnunet_identity_attribute_lib.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/include/gnunet_identity_attribute_lib.h b/src/include/gnunet_identity_attribute_lib.h index 4c765515b..a6c9e1f1c 100644 --- a/src/include/gnunet_identity_attribute_lib.h +++ b/src/include/gnunet_identity_attribute_lib.h | |||
@@ -261,19 +261,6 @@ const char* | |||
261 | GNUNET_IDENTITY_ATTRIBUTE_number_to_typename (uint32_t type); | 261 | GNUNET_IDENTITY_ATTRIBUTE_number_to_typename (uint32_t type); |
262 | 262 | ||
263 | 263 | ||
264 | /** | ||
265 | * Create a JWT from attributes | ||
266 | * | ||
267 | * @param sub_key the public of the subject | ||
268 | * @param attrs the attribute list | ||
269 | * @param priv_key the key used to sign the JWT | ||
270 | * @return a new base64-encoded JWT string. | ||
271 | */ | ||
272 | char* | ||
273 | GNUNET_IDENTITY_ATTRIBUTE_jwt_create_from_list (const struct GNUNET_CRYPTO_EcdsaPublicKey *sub_key, | ||
274 | const struct GNUNET_IDENTITY_ATTRIBUTE_ClaimList *attrs, | ||
275 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *priv_key); | ||
276 | |||
277 | #if 0 /* keep Emacsens' auto-indent happy */ | 264 | #if 0 /* keep Emacsens' auto-indent happy */ |
278 | { | 265 | { |
279 | #endif | 266 | #endif |