aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_exchange_service.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-05-24 02:28:03 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-05-24 02:28:15 +0200
commit8c3ffbf2a356b7c684bb65b8678e819183e52d76 (patch)
tree0cb5ef556310a03b8b7784223fb5d44791d10284 /src/include/taler_exchange_service.h
parentfc09e6a8feb14625f469f155bd78467ff03ef9b3 (diff)
allow access to raw /keys response
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r--src/include/taler_exchange_service.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index 57ab51253..1655e1a67 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -277,6 +277,17 @@ TALER_EXCHANGE_get_keys (const struct TALER_EXCHANGE_Handle *exchange);
/**
+ * Obtain the keys from the exchange in the
+ * raw JSON format
+ *
+ * @param exchange the exchange handle
+ * @return the exchange's keys in raw JSON
+ */
+json_t *
+TALER_EXCHANGE_get_keys_raw (const struct TALER_EXCHANGE_Handle *exchange);
+
+
+/**
* Test if the given @a pub is a the current signing key from the exchange
* according to @a keys.
*