From d4fb492a388f745990392c2f597544ae454a5667 Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Sun, 17 Oct 2021 13:27:38 +0200 Subject: fix layout --- design-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 index d9775eaf..0d8d3c37 100644 --- 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: -- cgit v1.2.3