summaryrefslogtreecommitdiff
path: root/src/include/taler_mint_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-21 20:43:54 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-21 20:43:54 +0200
commit8f6e911308c717ffbd9bc1a2f955ffc42c6ea784 (patch)
tree787a2c12d9ca1e4fb731846afe8b3a41b5c9d885 /src/include/taler_mint_service.h
parent5caa52aa4cf7eb4e59cef34195f61d088a28a622 (diff)
downloadexchange-8f6e911308c717ffbd9bc1a2f955ffc42c6ea784.tar.gz
exchange-8f6e911308c717ffbd9bc1a2f955ffc42c6ea784.tar.bz2
exchange-8f6e911308c717ffbd9bc1a2f955ffc42c6ea784.zip
-implement signature checking on /deposit
Diffstat (limited to 'src/include/taler_mint_service.h')
-rw-r--r--src/include/taler_mint_service.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/src/include/taler_mint_service.h b/src/include/taler_mint_service.h
index 75d2050ae..850f07630 100644
--- a/src/include/taler_mint_service.h
+++ b/src/include/taler_mint_service.h
@@ -306,13 +306,35 @@ TALER_MINT_disconnect (struct TALER_MINT_Handle *mint);
/**
+ * Obtain the keys from the mint.
+ *
+ * @param mint the mint handle
+ * @return the mint's key set
+ */
+const struct TALER_MINT_Keys *
+TALER_MINT_get_keys (const struct TALER_MINT_Handle *mint);
+
+
+/**
* Obtain the current signing key from the mint.
*
* @param keys the mint's key set
* @return sk current online signing key for the mint, NULL on error
*/
const struct TALER_MintPublicKeyP *
-TALER_MINT_get_signing_key (struct TALER_MINT_Keys *keys);
+TALER_MINT_get_signing_key (const struct TALER_MINT_Keys *keys);
+
+
+/**
+ * Obtain the denomination key details from the mint.
+ *
+ * @param keys the mint's key set
+ * @param pk public key of the denomination to lookup
+ * @return details about the given denomination key
+ */
+const struct TALER_MINT_DenomPublicKey *
+TALER_MINT_get_denomination_key (const struct TALER_MINT_Keys *keys,
+ const struct TALER_DenominationPublicKey *pk);
/* ********************* /deposit *********************** */