aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_json_lib.h
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-01-27 20:25:40 +0100
committerFlorian Dold <florian@dold.me>2022-01-27 20:25:40 +0100
commite6e0cabf084ca4a333718b953bc0b48ac12e7356 (patch)
treec39e33b10046ecae33bec6e47537eb43f452e464 /src/include/taler_json_lib.h
parent32f1276b8c9cdc65f6873b8dc8d86240f25c8907 (diff)
downloadexchange-e6e0cabf084ca4a333718b953bc0b48ac12e7356.tar.xz
test and hopefully fix JSON canonicalization
Diffstat (limited to 'src/include/taler_json_lib.h')
-rw-r--r--src/include/taler_json_lib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h
index 2a101d269..51ebe6d90 100644
--- a/src/include/taler_json_lib.h
+++ b/src/include/taler_json_lib.h
@@ -563,6 +563,12 @@ enum GNUNET_GenericReturnValue
TALER_JSON_parse_agemask (const json_t *root,
struct TALER_AgeMask *mask);
+/**
+ * Canonicalize a JSON input to a string according to RFC 8785.
+ */
+char *
+TALER_JSON_canonicalize (const json_t *input);
+
#endif /* TALER_JSON_LIB_H_ */
/* End of taler_json_lib.h */