diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-06-26 13:40:34 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-06-26 13:40:34 +0200 |
commit | 665946b1a166c897bc36540c1997c3984df6f4e8 (patch) | |
tree | 204ce1cf0a2be51119ba423d7458e11d23aa39d2 | |
parent | 58e341b8b81d08d0dcb1ae6b170dfdf3c73d0a16 (diff) | |
download | docs-665946b1a166c897bc36540c1997c3984df6f4e8.tar.gz docs-665946b1a166c897bc36540c1997c3984df6f4e8.tar.bz2 docs-665946b1a166c897bc36540c1997c3984df6f4e8.zip |
add TALER_CoinLinkSignaturePS
-rw-r--r-- | api-common.rst | 14 | ||||
-rw-r--r-- | api-exchange.rst | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/api-common.rst b/api-common.rst index 3b0bc4b2..8f3ae378 100644 --- 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 index 48352cf4..bf214d58 100644 --- 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; } |