summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-06-26 13:11:49 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-06-26 13:11:49 +0200
commit9516440e54e88fd0b32f54e91245a7b2a025c583 (patch)
tree646fa2b1294ed7138509c05c8e68792720d05b49
parentb85b0665f335c8baa9b7cf63079546b25da8c452 (diff)
downloaddocs-9516440e54e88fd0b32f54e91245a7b2a025c583.tar.gz
docs-9516440e54e88fd0b32f54e91245a7b2a025c583.tar.bz2
docs-9516440e54e88fd0b32f54e91245a7b2a025c583.zip
sync link protocol with thesis version
-rw-r--r--api-exchange.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/api-exchange.rst b/api-exchange.rst
index 9a3412a..b906d33 100644
--- a/api-exchange.rst
+++ b/api-exchange.rst
@@ -877,8 +877,7 @@ the API during normal operation.
// The original commitment, used to match the /refresh/reveal
// to the corresponding /refresh/melt operation.
- rc: TALER_RefreshCommitmentP;
-
+ rc: HashCode;
}
@@ -904,7 +903,7 @@ the API during normal operation.
code: integer;
// Commitment as calculated by the exchange from the revealed data.
- rc_expected: TALER_RefreshCommitmentP;
+ rc_expected: HashCode;
}
@@ -951,6 +950,13 @@ the API during normal operation.
// Exchange's blinded signature over the exchangeed coin.
ev_sig: BlindedRsaSignature;
+
+ // Blinded coin, to be verified by the wallet to protect against
+ // a malicious exchange.
+ coin_ev: CoinEnvelope;
+
+ // Signature made by the old coin over the refresh request.
+ link_sig: EddsaSignature;
}