summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2021-10-15 19:09:51 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2021-10-15 19:09:51 +0200
commite170b87abc922175f3772a68270804e94338ab55 (patch)
tree541c4075a86668c1248ea887ed25134a367b6f5e
parent1b86a2e9094e56cc15ebe646842068018fd3ebfb (diff)
downloaddocs-e170b87abc922175f3772a68270804e94338ab55.tar.gz
docs-e170b87abc922175f3772a68270804e94338ab55.tar.bz2
docs-e170b87abc922175f3772a68270804e94338ab55.zip
clearify response when last_issue_date is given
-rw-r--r--design-documents/024-age-restriction.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst
index e2eb44a..ce6d562 100644
--- a/design-documents/024-age-restriction.rst
+++ b/design-documents/024-age-restriction.rst
@@ -119,6 +119,7 @@ additional field ``age_restricted_denoms``. This is an *additional* list of
denominations that must be used for during modified ``refresh`` and ``deposit``
operations (see below).
+
The data structure for those denominations is the same as for the regular ones
in ``ExchangeKeysResponse.denoms``. **However**, the following differences
apply for each denomination in the list:
@@ -131,6 +132,11 @@ apply for each denomination in the list:
2. The value of ``TALER_DenominationKeyValidityPS.purpose`` is set to
``TALER_SIGNATURE_MASTER_AGE_RESTRICTED_DENOMINATION_KEY_VALIDITY``.
+And similar to ``.denoms``, if the query parameter ``last_issue_date`` was
+provided by the client, the exchange will only return the keys that have
+changed since the given timestamp.
+
+
.. ts:def:: ExchangeKeysResponse
interface ExchangeKeysResponse {
@@ -152,6 +158,10 @@ apply for each denomination in the list:
//
// 2. The value of ``TALER_DenominationKeyValidityPS.purpose`` is set to
// ``TALER_SIGNATURE_MASTER_AGE_RESTRICTED_DENOMINATION_KEY_VALIDITY``
+ //
+ // Similar as for ``.denoms``, if the query parameter ``last_issue_date``
+ // was provided by the client, the exchange will only return the keys that
+ // have changed since the given timestamp.
age_restricted_denoms: Denom[];
//...