From 033be8544b8d52bcf18af38609b9131186c213f8 Mon Sep 17 00:00:00 2001 From: Manu Sporny Date: Sat, 13 Jan 2024 15:22:29 -0500 Subject: [PATCH] Note that algorithms can throw errors. --- index.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 08b2511..6315b9e 100644 --- a/index.html +++ b/index.html @@ -711,7 +711,9 @@

Generate Algorithm

The following process, or one generating the exact output, MUST be followed when producing a -BitstringStatusListCredential: +BitstringStatusListCredential. +The algorithm takes a list of |issued credentials| as input and either throws +an error or returns a status list credential as output.

    @@ -745,7 +747,9 @@

    Validate Algorithm

    The following process, or one generating the exact output, MUST be followed when validating a verifiable credential that is contained in a -BitstringStatusListCredential: +BitstringStatusListCredential. +The algorithm takes a status list verifiable credential as input +and either throws an error or returns a status list credential as output.

      @@ -857,8 +861,8 @@

      Validate Algorithm

      Bitstring Generation Algorithm

      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.

      @@ -891,7 +895,7 @@

      Bitstring Expansion Algorithm

      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.