Skip to content

Commit

Permalink
Fixed CCDL notation when wrapping into a CBOR byte string
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-tiloca-sics committed Oct 26, 2023
1 parent f25853c commit bae81ff
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions draft-ietf-ace-key-groupcomm.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,10 @@ roles = &(

scope_entry = AIF-Generic<gname, permissions>

scope = << [ + scope_entry ] >>
scope_entries = [ + scope_entry ]

scope = bstr .cbor scope_entries

~~~~~~~~~~~~~~~~~~~~
{: #cddl-ex-0 title="Example of scope using the AIF format"}

Expand All @@ -362,7 +365,9 @@ role = tstr

scope_entry = [ gname , ? ( role / [ 2*role ] ) ]

scope = << [ + scope_entry ] >>
scope_entries = [ + scope_entry ]

scope = bstr .cbor scope_entries
~~~~~~~~~~~~~~~~~~~~
{: #cddl-ex title="Example of scope using the textual format, with the group name and role identifiers encoded as text strings"}

Expand Down Expand Up @@ -1873,7 +1878,9 @@ roles = &(

scope_entry = AIF-Generic<gname, permissions>

scope = << [ + scope_entry ] >>
scope_entries = [ + scope_entry ]

scope = bstr .cbor scope_entries

extended_scope = #6.TAG_FOR_THIS_SEMANTICS(scope)
~~~~~~~~~~~~~~~~~~~~
Expand All @@ -1886,7 +1893,9 @@ role = tstr

scope_entry = [ gname , ? ( role / [ 2*role ] ) ]

scope = << [ + scope_entry ] >>
scope_entries = [ + scope_entry ]

scope = bstr .cbor scope_entries

extended_scope = #6.TAG_FOR_THIS_SEMANTICS(scope)
~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit bae81ff

Please sign in to comment.