taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 665946b1a166c897bc36540c1997c3984df6f4e8
parent 58e341b8b81d08d0dcb1ae6b170dfdf3c73d0a16
Author: Florian Dold <florian.dold@gmail.com>
Date:   Wed, 26 Jun 2019 13:40:34 +0200

add TALER_CoinLinkSignaturePS

Diffstat:
Mapi-common.rst | 14++++++++++++++
Mapi-exchange.rst | 2++
2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/api-common.rst b/api-common.rst @@ -796,3 +796,17 @@ within the struct TALER_ReservePublicKeyP reserve_pub; struct GNUNET_HashCode h_wire; }; + +.. _TALER_CoinLinkSignaturePS: +.. sourcecode:: c + + struct TALER_CoinLinkSignaturePS { + /** + * purpose.purpose = TALER_SIGNATURE_WALLET_COIN_LINK + */ + struct GNUNET_CRYPTO_EccSignaturePurpose purpose; + struct GNUNET_HashCode h_denom_pub; + struct TALER_CoinSpendPublicKeyP old_coin_pub; + struct TALER_TransferPublicKeyP transfer_pub; + struct GNUNET_HashCode coin_envelope_hash; + }; diff --git a/api-exchange.rst b/api-exchange.rst @@ -877,6 +877,7 @@ the API during normal operation. // Signature made by the wallet using the old coin's private key, // used later to verify the /refresh/link response from the exchange. + // Signs over a `TALER_CoinLinkSignaturePS`_ link_sig: EddsaSignature; // The original commitment, used to match the /refresh/reveal @@ -960,6 +961,7 @@ the API during normal operation. coin_ev: CoinEnvelope; // Signature made by the old coin over the refresh request. + // Signs over a `TALER_CoinLinkSignaturePS`_ link_sig: EddsaSignature; }