From 831e32b7ada11ad852e1171c4bee6646fb0ab865 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 4 Apr 2022 07:29:50 +0200 Subject: -add logic for econtract_sig signatures --- src/include/taler_exchangedb_plugin.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include') 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); -- cgit v1.2.3