summaryrefslogtreecommitdiff
path: root/src/include/taler_signatures.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r--src/include/taler_signatures.h48
1 files changed, 42 insertions, 6 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 6b5d3768..38c2dc25 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2020 Taler Systems SA
+ Copyright (C) 2014-2021 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@@ -167,6 +167,12 @@
*/
#define TALER_SIGNATURE_EXCHANGE_AFFIRM_DENOM_EXPIRED 1043
+/**
+ * Signature by which an exchange affirms that an account
+ * successfully passed the KYC checks.
+ */
+#define TALER_SIGNATURE_EXCHANGE_ACCOUNT_SETUP_SUCCESS 1044
+
/**********************/
/* Auditor signatures */
@@ -247,6 +253,16 @@
*/
#define TALER_SIGNATURE_WALLET_COIN_LINK 1204
+/**
+ * Signature using a reserve key by which a wallet
+ * requests a payment target UUID for itself.
+ * Signs over just a purpose (no body), as the
+ * signature only serves to demonstrate that the request
+ * comes from the wallet controlling the private key,
+ * and not some third party.
+ */
+#define TALER_SIGNATURE_WALLET_ACCOUNT_SETUP 1205
+
/******************************/
/* Security module signatures */
@@ -286,11 +302,6 @@
*/
#define TALER_SIGNATURE_ANASTASIS_POLICY_UPLOAD 1400
-/**
- * EdDSA signature for a policy download.
- */
-#define TALER_SIGNATURE_ANASTASIS_POLICY_DOWNLOAD 1401
-
/*******************/
/* Sync signatures */
@@ -819,6 +830,31 @@ struct TALER_ExchangeKeySetPS
/**
+ * @brief Signature by which an exchange affirms that an account
+ * successfully passed the KYC checks.
+ */
+struct TALER_ExchangeAccountSetupSuccessPS
+{
+ /**
+ * Purpose is #TALER_SIGNATURE_EXCHANGE_ACCOUNT_SETUP_SUCCESS. Signed by a
+ * `struct TALER_ExchangePublicKeyP` using EdDSA.
+ */
+ struct GNUNET_CRYPTO_EccSignaturePurpose purpose;
+
+ /**
+ * Hash over the payto for which the signature was
+ * made.
+ */
+ struct GNUNET_HashCode h_payto;
+
+ /**
+ * When was the signature made.
+ */
+ struct GNUNET_TIME_AbsoluteNBO timestamp;
+};
+
+
+/**
* @brief Signature made by the exchange offline key over the information of
* an auditor to be added to the exchange's set of auditors.
*/