Skip to content

Commit

Permalink
Script updating gh-pages from 51cbad0. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
ID Bot committed Dec 12, 2023
1 parent 2cde906 commit b8cf60e
Show file tree
Hide file tree
Showing 3 changed files with 1,141 additions and 1,136 deletions.
12 changes: 7 additions & 5 deletions draft-ietf-rats-eat.html
Original file line number Diff line number Diff line change
Expand Up @@ -3414,8 +3414,9 @@ <h4 id="name-common-data-types">
</h4>
<p id="section-7.2.1-1">time-int is identical to the epoch-based time, but disallows
floating-point representation.<a href="#section-7.2.1-1" class="pilcrow"></a></p>
<p id="section-7.2.1-2">The OID encoding from <span>[<a href="#RFC9090" class="cite xref">RFC9090</a>]</span> is used without the tag number in CBOR-encoded tokens.
In JSON tokens OIDs are a text string in the common form of "nn.nn.nn...".<a href="#section-7.2.1-2" class="pilcrow"></a></p>
<p id="section-7.2.1-2">For CBOR-encoded tokens, OIDs are specified by "oid" in <span>[<a href="#RFC9090" class="cite xref">RFC9090</a>]</span>.
They are encoded without the tag number.
For CBOR-encoded tokens, OIDs are a text string in the common form of "nn.nn.nn...".<a href="#section-7.2.1-2" class="pilcrow"></a></p>
<p id="section-7.2.1-3">Unless expliclity indicated, URIs are not the URI tag defined in <span>[<a href="#RFC8949" class="cite xref">RFC8949</a>]</span>.
They are just text strings that contain a URI conforming to the format defined in <span>[<a href="#RFC3986" class="cite xref">RFC3986</a>]</span>.<a href="#section-7.2.1-3" class="pilcrow"></a></p>
<div class="lang-CDDL sourcecode" id="section-7.2.1-4">
Expand Down Expand Up @@ -3462,7 +3463,7 @@ <h4 id="name-json-interoperability">
<p id="section-7.2.2-2.5.1">oid -- <span class="bcp14">MUST</span> be encoded as a string using the well established dotted-decimal notation (e.g., the text "1.2.250.1") <span>[<a href="#RFC2252" class="cite xref">RFC2252</a>]</span>.<a href="#section-7.2.2-2.5.1" class="pilcrow"></a></p>
</li>
</ul>
<p id="section-7.2.2-3">The CDDL generic "JC&lt; &gt;" is used in most places where there is a variance between CBOR and JSON.
<p id="section-7.2.2-3">The CDDL generic "JC&lt;&gt;" is used in most places where there is a variance between CBOR and JSON.
The first argument is the CDDL for JSON and the second is CDDL for CBOR.<a href="#section-7.2.2-3" class="pilcrow"></a></p>
</section>
</div>
Expand All @@ -3472,7 +3473,7 @@ <h4 id="name-labels">
<a href="#section-7.2.3" class="section-number selfRef">7.2.3. </a><a href="#name-labels" class="section-name selfRef">Labels</a>
</h4>
<p id="section-7.2.3-1">Most map labels, Claims-Keys, Claim-Names and enumerated-type values are integers for CBOR-encoded tokens and strings for JSON-encoded tokens.
When this is the case the "JC &lt; &gt;" CDDL construct is used to give both the integer and string values.<a href="#section-7.2.3-1" class="pilcrow"></a></p>
When this is the case the "JC&lt;&gt;" CDDL construct is used to give both the integer and string values.<a href="#section-7.2.3-1" class="pilcrow"></a></p>
</section>
</div>
<div id="cbor-interoperability">
Expand All @@ -3499,7 +3500,8 @@ <h4 id="name-payload-cddl">
<p id="section-7.3.1-1">This CDDL defines all the EAT Claims that are added to the main definition of a Claim-Set in <a href="#CDDL_for_CWT" class="auto internal xref">Appendix D</a>.
Claims-Set is the payload for CWT, JWT and potentially other token types.
This is for both CBOR and JSON.
When there is variation between CBOR and JSON, the JC&lt;&gt; CDDL generic defined in <a href="#CDDL_for_CWT" class="auto internal xref">Appendix D</a>.<a href="#section-7.3.1-1" class="pilcrow"></a></p>
When there is variation between CBOR and JSON, the JC&lt;&gt; CDDL generic defined in <a href="#CDDL_for_CWT" class="auto internal xref">Appendix D</a>.
Note that the JC&lt;&gt; generic uses the CDDL ".feature" control operator defined in <span>[<a href="#RFC9165" class="cite xref">RFC9165</a>]</span>.<a href="#section-7.3.1-1" class="pilcrow"></a></p>
<p id="section-7.3.1-2">This CDDL uses, but doesn't define Submodule or nested tokens because the definition for these types varies between CBOR and JSON and the JC&lt;&gt; generic can't be used to define it.
The submodule claim is the one place where a CBOR token can be nested inside a JSON token and vice versa.
Encoding-specific definitions are provided in the following sections.<a href="#section-7.3.1-2" class="pilcrow"></a></p>
Expand Down
13 changes: 7 additions & 6 deletions draft-ietf-rats-eat.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2184,9 +2184,9 @@ Table of Contents
time-int is identical to the epoch-based time, but disallows
floating-point representation.

The OID encoding from [RFC9090] is used without the tag number in
CBOR-encoded tokens. In JSON tokens OIDs are a text string in the
common form of "nn.nn.nn...".
For CBOR-encoded tokens, OIDs are specified by "oid" in [RFC9090].
They are encoded without the tag number. For CBOR-encoded tokens,
OIDs are a text string in the common form of "nn.nn.nn...".

Unless expliclity indicated, URIs are not the URI tag defined in
[RFC8949]. They are just text strings that contain a URI conforming
Expand Down Expand Up @@ -2224,15 +2224,15 @@ Table of Contents
* oid -- MUST be encoded as a string using the well established
dotted-decimal notation (e.g., the text "1.2.250.1") [RFC2252].

The CDDL generic "JC< >" is used in most places where there is a
The CDDL generic "JC<>" is used in most places where there is a
variance between CBOR and JSON. The first argument is the CDDL for
JSON and the second is CDDL for CBOR.

7.2.3. Labels

Most map labels, Claims-Keys, Claim-Names and enumerated-type values
are integers for CBOR-encoded tokens and strings for JSON-encoded
tokens. When this is the case the "JC < >" CDDL construct is used to
tokens. When this is the case the "JC<>" CDDL construct is used to
give both the integer and string values.

7.2.4. CBOR Interoperability
Expand All @@ -2248,7 +2248,8 @@ Table of Contents
definition of a Claim-Set in Appendix D. Claims-Set is the payload
for CWT, JWT and potentially other token types. This is for both
CBOR and JSON. When there is variation between CBOR and JSON, the
JC<> CDDL generic defined in Appendix D.
JC<> CDDL generic defined in Appendix D. Note that the JC<> generic
uses the CDDL ".feature" control operator defined in [RFC9165].

This CDDL uses, but doesn't define Submodule or nested tokens because
the definition for these types varies between CBOR and JSON and the
Expand Down
Loading

0 comments on commit b8cf60e

Please sign in to comment.