summaryrefslogtreecommitdiff
path: root/src/include/taler_json_lib.h
diff options
context:
space:
mode:
authorLucien Heuzeveldt <lucien.heuzeveldt@gmail.com>2021-12-23 22:49:57 +0100
committerGian Demarmels <gian@demarmels.org>2022-02-04 15:33:07 +0100
commit3225566c93eceb52078fbe13fc301722f349b2c0 (patch)
treef011f29c49103aaf2a573b4711a97d642944037e /src/include/taler_json_lib.h
parentdb9b84970dbd5aacc9eca1f19bb03d27a06e3452 (diff)
downloadexchange-3225566c93eceb52078fbe13fc301722f349b2c0.tar.gz
exchange-3225566c93eceb52078fbe13fc301722f349b2c0.tar.bz2
exchange-3225566c93eceb52078fbe13fc301722f349b2c0.zip
implement exchange_api_csr
Diffstat (limited to 'src/include/taler_json_lib.h')
-rw-r--r--src/include/taler_json_lib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h
index 51ebe6d90..d243dd723 100644
--- a/src/include/taler_json_lib.h
+++ b/src/include/taler_json_lib.h
@@ -300,6 +300,18 @@ TALER_JSON_spec_i18n_str (const char *name,
/**
+ * Generate line in parser specification for a CS R.
+ *
+ * @param field name of the field
+ * @param r_pub where the r_pub has to be written
+ * @return corresponding field spec
+ */
+struct GNUNET_JSON_Specification
+TALER_JSON_spec_csr (const char *field,
+ struct GNUNET_CRYPTO_CsRPublic *r_pub);
+
+
+/**
* Hash a JSON for binary signing.
*
* See https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-15