summaryrefslogtreecommitdiff
path: root/design-documents/024-age-restriction.rst
diff options
context:
space:
mode:
Diffstat (limited to 'design-documents/024-age-restriction.rst')
-rw-r--r--design-documents/024-age-restriction.rst23
1 files changed, 12 insertions, 11 deletions
diff --git a/design-documents/024-age-restriction.rst b/design-documents/024-age-restriction.rst
index d9775ea..0d8d3c3 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: