Skip to content

Commit

Permalink
Switch from CODE markup to backtick markup.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Jan 7, 2024
1 parent 0faaa57 commit f827056
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,7 @@ <h2>Relationship to Verifiable Credentials</h2>
verifiable presentation</a>, during the process of
<a data-cite="?VC-DATA-MODEL-2.0#issuer-0">validation</a>. One
way to check for such an association is to ensure that the value of the
<code>controller</code> property of a proof's <a>verification method</a>
`controller` property of a proof's <a>verification method</a>
matches the URL value used to identify the
<a data-cite="?VC-DATA-MODEL-2.0#issuer">`issuer`</a> or
<a data-cite="?VC-DATA-MODEL-2.0#dfn-holders">`holder`</a>, respectively.
Expand Down Expand Up @@ -2311,7 +2311,7 @@ <h4 id="cryptosuiteString">The `cryptosuiteString` Datatype</h3>
</p>

<p>
The <code>cryptosuiteString</code> datatype is defined as follows:
The `cryptosuiteString` datatype is defined as follows:
</p>

<dl>
Expand Down Expand Up @@ -2489,7 +2489,7 @@ <h2>Cryptographic Suites</h2>
</li>
<li>
The JSON-LD context associated with the cryptographic suite MUST have its terms
protected from unsafe redefinition, by use of the <code>@protected</code> keyword.
protected from unsafe redefinition, by use of the `@protected` keyword.
</li>
</ul>

Expand Down Expand Up @@ -2992,20 +2992,20 @@ <h3>Add Proof Set/Chain</h3>
Let |matchingProofs| be an empty list.
</li>
<li>
If |options| has a <code>previousProof</code> [=struct/item=] that
If |options| has a `previousProof` [=struct/item=] that
is a string, add the element from |allProofs| with an
<code>id</code> attribute matching <code>previousProof</code> to
`id` attribute matching `previousProof` to
|matchingProofs|. If a proof with
<code>id</code> equal to <code>previousProof</code>does not exist in
`id` equal to `previousProof`does not exist in
|allProofs|, an error MUST be raised and SHOULD convey an error type of
<a href="#PROOF_GENERATION_ERROR">PROOF_GENERATION_ERROR</a>.
</li>
<li>
If |options| has a <code>previousProof</code> [=struct/item=] that
If |options| has a `previousProof` [=struct/item=] that
is an array, add each element from
|allProofs| with an <code>id</code> attribute that matches an element
of that array. If any element of <code>previousProof</code> array has an
<code>id</code> attribute that does not match the <code>id</code> attribute
|allProofs| with an `id` attribute that matches an element
of that array. If any element of `previousProof` array has an
`id` attribute that does not match the `id` attribute
of any element of |allProofs|, an error MUST be raised and SHOULD
convey an error type of
<a href="#PROOF_GENERATION_ERROR">PROOF_GENERATION_ERROR</a>.
Expand Down Expand Up @@ -3180,15 +3180,15 @@ <h3>Verify Proof</h3>
<h3>Verify Proof Sets and Chains</h3>
<p>
In a proof set or proof chain, a <a>secured data document</a> has a
<code>proof</code> attribute which contains a list of proofs
`proof` attribute which contains a list of proofs
(|allProofs|).
The following algorithm provides one method of checking the authenticity and
integrity of a <a>secured data document</a>, achieved by verifying every
proof in |allProofs|. Other approaches are possible, particularly if
it is only desired to verify a subset of the proofs contained in
|allProofs|. If another approach is taken to verify only a subset of the
proofs, then it is important to note that any proof in that subset with a
<code>previousProof</code> can only be considered verified if the proofs it
`previousProof` can only be considered verified if the proofs it
references are also considered verified.
</p>
<p>
Expand All @@ -3209,17 +3209,17 @@ <h3>Verify Proof Sets and Chains</h3>
Let |matchingProofs| be an empty list.
</li>
<li>
If |proof| contains a <code>previousProof</code> attribute and that
If |proof| contains a `previousProof` attribute and that
attribute is a string, add the element from |allProofs| with an
<code>id</code> attribute matching <code>previousProof</code> to
<code>matchingProofs</code>.
If a proof with <code>id</code> does not exist in |allProofs|, an error
`id` attribute matching `previousProof` to
`matchingProofs`.
If a proof with `id` does not exist in |allProofs|, an error
MUST be raised and SHOULD convey an error type of
<a href="#MALFORMED_PROOF_ERROR">MALFORMED_PROOF_ERROR</a>.
If the <code>previousProof</code> attribute is an array, add each element from
|allProofs| with an <code>id</code> attribute that matches an element
of that array. If any element of <code>previousProof</code> array has an
<code>id</code> attribute that does not match the <code>id</code> attribute
If the `previousProof` attribute is an array, add each element from
|allProofs| with an `id` attribute that matches an element
of that array. If any element of `previousProof` array has an
`id` attribute that does not match the `id` attribute
of any element of |allProofs|, an error MUST be raised and SHOULD
convey an error type of
<a href="#MALFORMED_PROOF_ERROR">MALFORMED_PROOF_ERROR</a>.
Expand Down

0 comments on commit f827056

Please sign in to comment.