@@ -69,7 +69,11 @@ Generating tree
6969 :align: center
7070 :width: 100%
7171
72- Each node is a name prefix, and edge becoming the condition to
72+ Each node is a name prefix, and edge becoming the condition to the nodes.
73+
74+ .. note ::
75+ In the figure we omitted ununsed branch ``"KEY"/_/_/_ `` from the root, but the compiler will generate it.
76+ So, the total number of nodes is 26.
7377
7478Fixing signing constraints
7579~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -87,16 +91,16 @@ and model the name pattern tree into a TLV encodable model.
8791
8892Checker
8993~~~~~~~~
90- In order to check a name ``/lvs-test/article/alice/post1/v=2 `` can be signed by
91- name ``/lvs-test/author/alice/KEY/%BDA%D6%DE%EA%09%3C%E0/admin/v=1647807153833 ``,
92- Checker first matches ``/lvs-test/article/alice/post1/v=2 `` against the name
94+ In order to check a name ``/lvs-test/article/alice/post1/v=2 `` can be signed by
95+ name ``/lvs-test/author/alice/KEY/%BDA%D6%DE%EA%09%3C%E0/admin/v=1647807153833 ``,
96+ Checker first matches ``/lvs-test/article/alice/post1/v=2 `` against the name
9397pattern tree, which gives the uppermost branch of the pattern tree.
9498
95- Along the matching, checker fills the symbols with ``author = "alice" ``
99+ Along the matching, checker fills the symbols with ``author = "alice" ``
96100and ``post = "post1" ``.
97101The end of this branch indicates the node identifier (e.g., ``x ``) for this branch.
98102
99- Then the checker matches the ``/lvs-test/author/alice/KEY/... ``
103+ Then the checker matches the ``/lvs-test/author/alice/KEY/... ``
100104against the name pattern tree, which gives the second branch from the top.
101105When matching along this branch, checker uses "alice" for ``1 ``'s value.
102106The end of this branch has the same node identifier ``x ``, thereby the checking succeeds.
0 commit comments