aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_mint_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-05 17:15:37 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-05 17:15:37 +0200
commit0372b7583b530cd9cd9c5b65f8a2de98135cdc1e (patch)
treeefb7b45e88b4c339ce252fe58e4e19382db43959 /src/include/taler_mint_service.h
parent922323b4104abfaef2a11fed4e5e8292344a3bcd (diff)
include mint's public key in reply
Diffstat (limited to 'src/include/taler_mint_service.h')
-rw-r--r--src/include/taler_mint_service.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/include/taler_mint_service.h b/src/include/taler_mint_service.h
index 5ee2331f4..7822d6200 100644
--- a/src/include/taler_mint_service.h
+++ b/src/include/taler_mint_service.h
@@ -316,13 +316,16 @@ TALER_MINT_get_keys (const struct TALER_MINT_Handle *mint);
/**
- * Obtain the current signing key from the mint.
+ * Test if the given @a pub is a the current signing key from the mint
+ * according to @a keys.
*
* @param keys the mint's key set
- * @return sk current online signing key for the mint, NULL on error
+ * @param pub claimed current online signing key for the mint
+ * @return #GNUNET_OK if @a pub is (according to /keys) a current signing key
*/
-const struct TALER_MintPublicKeyP *
-TALER_MINT_get_signing_key (const struct TALER_MINT_Keys *keys);
+int
+TALER_MINT_test_signing_key (const struct TALER_MINT_Keys *keys,
+ const struct TALER_MintPublicKeyP *pub);
/**