summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-25 20:52:58 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-25 20:52:58 +0200
commit0d1ab614c06f60f79de75a0f2ec30c33a69820dd (patch)
tree3776ec42d7bd6ed64b3b71888b5a3fbafcb213ea /src/include/taler_signatures.h
parentb2b1f88ab617ee9a01ac263b8b1c679f24277076 (diff)
downloadexchange-0d1ab614c06f60f79de75a0f2ec30c33a69820dd.tar.gz
exchange-0d1ab614c06f60f79de75a0f2ec30c33a69820dd.tar.bz2
exchange-0d1ab614c06f60f79de75a0f2ec30c33a69820dd.zip
return signed 404 statements for unknown denomination key hashes (#6889)
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index f80a71d7c..1a64d52f6 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -155,6 +155,11 @@
*/
#define TALER_SIGNATURE_EXCHANGE_CONFIRM_RECOUP_REFRESH 1041
+/**
+ * Signature where the Exchange confirms that it does not know a denomination (hash).
+ */
+#define TALER_SIGNATURE_EXCHANGE_AFFIRM_DENOM_UNKNOWN 1042
+
/**********************/
/* Auditor signatures */
@@ -1515,6 +1520,30 @@ struct TALER_RecoupRefreshConfirmationPS
/**
+ * Response by which the exchange affirms that it does not
+ * currently know a denomination by the given hash.
+ */
+struct TALER_DenominationUnknownAffirmationPS
+{
+
+ /**
+ * Purpose is #TALER_SIGNATURE_EXCHANGE_AFFIRM_DENOM_UNKNOWN
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+
+ /**
+ * When did the exchange sign this message.
+ */
+ struct GNUNET_TIME_AbsoluteNBO timestamp;
+
+ /**
+ * Hash of the public denomination key we do not know.
+ */
+ struct GNUNET_HashCode h_denom_pub;
+};
+
+
+/**
* Response by which the exchange affirms that it has
* closed a reserve and send back the funds.
*/