diff options
Diffstat (limited to 'src/mint/taler-mint-httpd_keys.h')
-rw-r--r-- | src/mint/taler-mint-httpd_keys.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/mint/taler-mint-httpd_keys.h b/src/mint/taler-mint-httpd_keys.h index 7dc5bc0eb..8137561fc 100644 --- a/src/mint/taler-mint-httpd_keys.h +++ b/src/mint/taler-mint-httpd_keys.h | |||
@@ -33,34 +33,6 @@ | |||
33 | 33 | ||
34 | 34 | ||
35 | /** | 35 | /** |
36 | * Check if a coin is valid; that is, whether the denomination key exists, | ||
37 | * is not expired, and the signature is correct. | ||
38 | * | ||
39 | * @param key_state the key state to use for checking the coin's validity | ||
40 | * @param coin_public_info the coin public info to check for validity | ||
41 | * @return #GNUNET_YES if the coin is valid, | ||
42 | * #GNUNET_NO if it is invalid | ||
43 | * #GNUNET_SYSERROR if an internal error occured | ||
44 | */ | ||
45 | int | ||
46 | TALER_MINT_test_coin_valid (const struct MintKeyState *key_state, | ||
47 | const struct TALER_CoinPublicInfo *coin_public_info); | ||
48 | |||
49 | |||
50 | /** | ||
51 | * Sign the message in @a purpose with the mint's signing | ||
52 | * key. | ||
53 | * | ||
54 | * @param purpose the message to sign | ||
55 | * @param[OUT] sig signature over purpose using current signing key | ||
56 | */ | ||
57 | void | ||
58 | TALER_MINT_keys_sign (const struct GNUNET_CRYPTO_EccSignaturePurpose *purpose, | ||
59 | struct GNUNET_CRYPTO_EddsaSignature *sig); | ||
60 | |||
61 | |||
62 | |||
63 | /** | ||
64 | * Handle a "/keys" request | 36 | * Handle a "/keys" request |
65 | * | 37 | * |
66 | * @param rh context of the handler | 38 | * @param rh context of the handler |