summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-11 14:40:09 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-11 14:40:09 +0200
commit13619f425c4f97cf0d7cffd3a35faba6ef3c654a (patch)
tree93ec034889a06cc5f4471a086036af4eb80fb713 /src/include/taler_signatures.h
parent655e6f17bdb174bcbfb00cded2a500465db7e40a (diff)
downloadexchange-13619f425c4f97cf0d7cffd3a35faba6ef3c654a.tar.gz
exchange-13619f425c4f97cf0d7cffd3a35faba6ef3c654a.tar.bz2
exchange-13619f425c4f97cf0d7cffd3a35faba6ef3c654a.zip
towards implementing /wire replies
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h54
1 files changed, 53 insertions, 1 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index c5348eb5d..e17a69bcc 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -67,6 +67,12 @@
*/
#define TALER_SIGNATURE_MASTER_DENOMINATION_KEY_VALIDITY 1025
+/**
+ * Signature where the Mint confirms its SEPA details in
+ * the /wire/sepa response.
+ */
+#define TALER_SIGNATURE_MASTER_SEPA_DETAILS 1026
+
/*********************************************/
/* Mint online signatures (with signing key) */
@@ -95,6 +101,11 @@
*/
#define TALER_SIGNATURE_MINT_KEY_SET 1035
+/**
+ * Signature where the Mint confirms the /wire response.
+ */
+#define TALER_SIGNATURE_MINT_WIRE_TYPES 1036
+
/*********************/
/* Wallet signatures */
@@ -520,7 +531,6 @@ struct TALER_MintKeySetPS
*/
struct GNUNET_TIME_AbsoluteNBO list_issue_date;
- /**
* Hash over the various denomination signing keys returned.
*/
struct GNUNET_HashCode hc;
@@ -673,6 +683,48 @@ struct TALER_RefreshCommitLinkP
};
+/**
+ * @brief Information signed by the mint's master
+ * key affirming the SEPA details for the mint.
+ */
+struct TALER_MasterWireSepaDetailsPS
+{
+
+ /**
+ * Purpose is #TALER_SIGNATURE_MASTER_SEPA_DETAILS.
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+
+ /**
+ * Hash over the account holder's name, IBAN and BIC
+ * code (all as 0-terminated strings).
+ */
+ struct GNUNET_HashCode h_sepa_details;
+
+};
+
+
+/**
+ * @brief Information signed by a mint's online signing key affirming
+ * the wire formats supported by the mint.
+ */
+struct TALER_MintWireSupportMethodsPS
+{
+
+ /**
+ * Purpose is #TALER_SIGNATURE_MINT_WIRE_TYPES.
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+
+ /**
+ * Hash over the various wire formats supported by this mint
+ * (all as 0-terminated strings).
+ */
+ struct GNUNET_HashCode h_wire_types;
+
+};
+
+
GNUNET_NETWORK_STRUCT_END
#endif