Issuing a Verifiable Credential referencing Status List
Issuing a Verifiable Credential referencing cheqd StatusList
Follow the instructions for issuing a Verifiable Credential here, including the credentialStatus
information, as shown in the example below:
Where the values within the credentialSubject field are as follows:
Property | Description |
---|---|
| A specific DID URL dereferencing to the actual status of the Credential |
type | The |
| The purpose of the status entry MUST be a string. While the value of the string is arbitrary, the following values MUST be used for their intended purpose: revocation or suspension |
| The |
| The |
Validate Algorithm for cheqd StatusList
The following process, or one generating the exact output, MUST be followed when validating a verifiable credential that is contained in a cheqd StatusList Resource.
Let credentialToValidate be a verifiable credentials containing a
credentialStatus
entry that is a StatusList2021Entry, associated with an entry in a bitstring.Let status purpose be the value of
statusPurpose
in thecredentialStatus
entry in the credentialToValidate.Verify all proofs associated with the credentialToValidate. If a proof fails, return a validation error.
Verify that the status purpose matches the
resourceType
value in the StatusList2021 Resource.Let compressed bitstring be the value of the
encodedList
property of the StatusList2021 Resource.Let credentialIndex be the value of the
statusListIndex
property of the bitstring in the StatusList2021 Resource.Generate a revocation bitstring by passing compressed bitstring to the Bitstring Expansion Algorithm.
Let status be the value of the bit at position credentialIndex in the revocation bitstring.
Return
true
if status is 1,false
otherwise.
Last updated