From 3225566c93eceb52078fbe13fc301722f349b2c0 Mon Sep 17 00:00:00 2001 From: Lucien Heuzeveldt Date: Thu, 23 Dec 2021 22:49:57 +0100 Subject: implement exchange_api_csr --- src/include/taler_json_lib.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/include/taler_json_lib.h') 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 @@ -299,6 +299,18 @@ TALER_JSON_spec_i18n_str (const char *name, const char **strptr); +/** + * 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. * -- cgit v1.2.3