summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.h')
-rw-r--r--src/exchange/taler-exchange-httpd_keys.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.h b/src/exchange/taler-exchange-httpd_keys.h
index 078838615..24eed4cac 100644
--- a/src/exchange/taler-exchange-httpd_keys.h
+++ b/src/exchange/taler-exchange-httpd_keys.h
@@ -29,6 +29,12 @@
#define TALER_EXCHANGE_HTTPD_KEYS_H
/**
+ * Signatures of an auditor over a denomination key of this exchange.
+ */
+struct TEH_AuditorSignature;
+
+
+/**
* @brief All information about a denomination key (which is used to
* sign coins into existence).
*/
@@ -56,13 +62,23 @@ struct TEH_DenominationKey
* The long-term offline master key's signature for this denomination.
* Signs over @e h_denom_pub and @e meta.
*/
- struct TALER_MasterSignatureP master_sig_validity;
+ struct TALER_MasterSignatureP master_sig;
+
+ /**
+ * We store the auditor signatures for this denomination in a DLL.
+ */
+ struct TEH_AuditorSignature *as_head;
+
+ /**
+ * We store the auditor signatures for this denomination in a DLL.
+ */
+ struct TEH_AuditorSignature *as_tail;
/**
- * The master key's signature to revoke this denomination, or all zero
- * if the denomination has NOT yet been revoked.
+ * Set to 'true' if this denomination has been revoked and recoup is
+ * thus supported right now.
*/
- struct TALER_MasterSignatureP master_sig_revocation;
+ bool recoup_possible;
};