summaryrefslogtreecommitdiff
path: root/src/include/taler_exchange_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-26 15:00:34 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-26 15:00:34 +0100
commit2c88cff2837cb6f8b1b95822dd53f1d338055474 (patch)
treed7dcb40051c669a4140c21e26660edcbf2e16323 /src/include/taler_exchange_service.h
parent440d0e6ea4ddc677d6e3046bc64cdf0013f5b7ad (diff)
downloadexchange-2c88cff2837cb6f8b1b95822dd53f1d338055474.tar.gz
exchange-2c88cff2837cb6f8b1b95822dd53f1d338055474.tar.bz2
exchange-2c88cff2837cb6f8b1b95822dd53f1d338055474.zip
add logic to parse and check secmod signatures
Diffstat (limited to 'src/include/taler_exchange_service.h')
-rw-r--r--src/include/taler_exchange_service.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index 92b220e1..8b1feb15 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -1931,6 +1931,11 @@ struct TALER_EXCHANGE_FutureSigningPublicKey
struct TALER_ExchangePublicKeyP key;
/**
+ * Signature by the security module affirming it owns this key.
+ */
+ struct TALER_SecurityModuleSignatureP signkey_secmod_sig;
+
+ /**
* Validity start time
*/
struct GNUNET_TIME_Absolute valid_from;
@@ -1958,6 +1963,11 @@ struct TALER_EXCHANGE_FutureDenomPublicKey
struct TALER_DenominationPublicKey key;
/**
+ * Signature by the security module affirming it owns this key.
+ */
+ struct TALER_SecurityModuleSignatureP denom_secmod_sig;
+
+ /**
* Timestamp indicating when the denomination key becomes valid
*/
struct GNUNET_TIME_Absolute valid_from;
@@ -2027,6 +2037,21 @@ struct TALER_EXCHANGE_FutureKeys
struct TALER_EXCHANGE_FutureDenomPublicKey *denom_keys;
/**
+ * Public key of the signkey security module.
+ */
+ struct TALER_SecurityModulePublicKeyP signkey_secmod_public_key;
+
+ /**
+ * Public key of the denomination security module.
+ */
+ struct TALER_SecurityModulePublicKeyP denom_secmod_public_key;
+
+ /**
+ * Offline master public key used by this exchange.
+ */
+ struct TALER_MasterPublicKeyP master_pub;
+
+ /**
* Length of the @e sign_keys array (number of valid entries).
*/
unsigned int num_sign_keys;