From e170b87abc922175f3772a68270804e94338ab55 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Fri, 15 Oct 2021 19:09:51 +0200 Subject: clearify response when last_issue_date is given --- design-documents/024-age-restriction.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'design-documents/024-age-restriction.rst') diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst index e2eb44ab..ce6d5629 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[]; //... -- cgit v1.2.3