summaryrefslogtreecommitdiff
path: root/src/include/taler_exchangedb_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-04-04 07:29:50 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-04-04 07:29:50 +0200
commit831e32b7ada11ad852e1171c4bee6646fb0ab865 (patch)
tree4d8edb68869b33e92c94ce607d29418d2f459cfb /src/include/taler_exchangedb_plugin.h
parent393cea46d1b76b0229272edbc334f0471a069154 (diff)
downloadexchange-831e32b7ada11ad852e1171c4bee6646fb0ab865.tar.gz
exchange-831e32b7ada11ad852e1171c4bee6646fb0ab865.tar.bz2
exchange-831e32b7ada11ad852e1171c4bee6646fb0ab865.zip
-add logic for econtract_sig signatures
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r--src/include/taler_exchangedb_plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h
index 5512d3336..1e56c5e0d 100644
--- a/src/include/taler_exchangedb_plugin.h
+++ b/src/include/taler_exchangedb_plugin.h
@@ -4426,6 +4426,7 @@ struct TALER_EXCHANGEDB_Plugin
* @param pub_ckey ephemeral key for DH used to encrypt the contract
* @param econtract_size number of bytes in @a econtract
* @param econtract the encrypted contract
+ * @param[out] econtract_sig set to the signature over the encrypted contract
* @param[out] in_conflict set to true if @a econtract
* conflicts with an existing contract;
* in this case, the return value will be
@@ -4438,6 +4439,7 @@ struct TALER_EXCHANGEDB_Plugin
const struct TALER_ContractDiffiePublicP *pub_ckey,
size_t econtract_size,
const void *econtract,
+ const struct TALER_PurseContractSignatureP *econtract_sig,
bool *in_conflict);
@@ -4447,6 +4449,7 @@ struct TALER_EXCHANGEDB_Plugin
* @param cls the @e cls of this struct with the plugin-specific state
* @param purse_pub key to lookup the contract by
* @param[out] pub_ckey set to the ephemeral DH used to encrypt the contract
+ * @param[out] econtract_sig set to the signature over the encrypted contract
* @param[out] econtract_size set to the number of bytes in @a econtract
* @param[out] econtract set to the encrypted contract on success, to be freed by the caller
* @return transaction status code
@@ -4455,6 +4458,7 @@ struct TALER_EXCHANGEDB_Plugin
(*select_contract)(void *cls,
const struct TALER_PurseContractPublicKeyP *purse_pub,
struct TALER_ContractDiffiePublicP *pub_ckey,
+ struct TALER_PurseContractSignatureP *econtract_sig,
size_t *econtract_size,
void **econtract);