taler-docs

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

commit d4fb492a388f745990392c2f597544ae454a5667
parent 94ae5e5f695d1e6e9e586dd49c34feded7d4510a
Author: Özgür Kesim <oec-taler@kesim.org>
Date:   Sun, 17 Oct 2021 13:27:38 +0200

fix layout

Diffstat:
Mdesign-documents/024-age-restriction.rst | 23++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst @@ -398,21 +398,22 @@ If the ``ContractTerms`` had a non-zero value in field ``required_minimum_age``, the wallet has to provide evidence of that minimum age by -#. *either* using coins which are of denominations that have support for age - restriction enabled +#. *either* using coins which are of denominations that had *no* age support + enabled, - #. and then ―for each such coin― it has the right private key of the - restricted age commitment to the age group into which the required - minimum age falls (i.e. a non-empty entry at the right index in - vector of EdDSA keys, see above). +#. *or* using coins which are of denominations that have support for age + restriction enabled - #. and signs the required minimum age with each coin's private key - corresponding to the age group, + * and then ―for each such coin― it has the right private key of the + restricted age commitment to the age group into which the required minimum + age falls (i.e. a non-empty entry at the right index in vector of EdDSA + keys, see above). - #. and sends ―for each coin― the complete age commitment and the signature - to the merchant. + * and signs the required minimum age with each coin's private key + corresponding to the age group, -#. *or* using coins which are of denominations that had *no* age support enabled. + * and sends ―for each coin― the complete age commitment and the signature to + the merchant. The object ``CoinPaySig`` used within a ``PayRequest`` during a POST to ``[/instances/$INSTANCE]/orders/$ORDER_ID/pay`` is extended as follows: