From 8c3ffbf2a356b7c684bb65b8678e819183e52d76 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 24 May 2016 02:28:03 +0200 Subject: allow access to raw /keys response --- src/include/taler_exchange_service.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/include') 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 @@ -276,6 +276,17 @@ const struct TALER_EXCHANGE_Keys * 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. -- cgit v1.2.3