diff options
Diffstat (limited to 'src/reclaim/jwt.h')
-rw-r--r-- | src/reclaim/jwt.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/reclaim/jwt.h b/src/reclaim/jwt.h deleted file mode 100644 index 12ff85b01..000000000 --- a/src/reclaim/jwt.h +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | #ifndef JWT_H | ||
2 | #define JWT_H | ||
3 | |||
4 | /** | ||
5 | * Create a JWT from attributes | ||
6 | * | ||
7 | * @param aud_key the public of the audience | ||
8 | * @param sub_key the public key of the subject | ||
9 | * @param attrs the attribute list | ||
10 | * @param expiration_time the validity of the token | ||
11 | * @param nonce the nonce, may be NULL | ||
12 | * @param secret_key the key used to sign the JWT | ||
13 | * @return a new base64-encoded JWT string. | ||
14 | */ | ||
15 | char* | ||
16 | jwt_create_from_list (const struct GNUNET_CRYPTO_EcdsaPublicKey *aud_key, | ||
17 | const struct GNUNET_CRYPTO_EcdsaPublicKey *sub_key, | ||
18 | const struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList *attrs, | ||
19 | const struct GNUNET_TIME_Relative *expiration_time, | ||
20 | const char *nonce, | ||
21 | const char *secret_key); | ||
22 | |||
23 | #endif | ||