Skip to content

Commit

Permalink
Note that algorithms can throw errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
msporny committed Jan 13, 2024
1 parent 366a454 commit 033be85
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,9 @@ <h3>Generate Algorithm</h3>
<p>
The following process, or one generating the exact output, MUST be followed
when producing a
<a href="#bitstringstatuslistcredential">BitstringStatusListCredential</a>:
<a href="#bitstringstatuslistcredential">BitstringStatusListCredential</a>.
The algorithm takes a list of |issued credentials| as input and either throws
an error or returns a status list credential as output.
</p>

<ol class="algorithm">
Expand Down Expand Up @@ -745,7 +747,9 @@ <h3>Validate Algorithm</h3>
<p>
The following process, or one generating the exact output, MUST be followed
when validating a <a>verifiable credential</a> that is contained in a
<a href="#bitstringstatuslistcredential">BitstringStatusListCredential</a>:
<a href="#bitstringstatuslistcredential">BitstringStatusListCredential</a>.
The algorithm takes a status list <a>verifiable credential</a> as input
and either throws an error or returns a status list credential as output.
</p>

<ol class="algorithm">
Expand Down Expand Up @@ -857,8 +861,8 @@ <h3>Validate Algorithm</h3>
<h3>Bitstring Generation Algorithm</h3>
<p>
The following process, or one generating the exact output, MUST be followed
when generating a status list bitstring. The algorithm takes a
|issuedCredentials| list as input and returns a
when generating a status list bitstring. The algorithm takes an
|issuedCredentials| list as input and either throws an error or returns a
|compressed bitstring| as output.
</p>

Expand Down Expand Up @@ -891,7 +895,7 @@ <h3>Bitstring Expansion Algorithm</h3>
<p>
The following process, or one generating the exact output, MUST be followed
when expanding a compressed status list bitstring. The algorithm takes a
|compressed bitstring| as input and returns a
|compressed bitstring| as input and either throws an error or returns a
|uncompressed bitstring| as output.
</p>

Expand Down

0 comments on commit 033be85

Please sign in to comment.