Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
SimpleCredentialStatus2022 is a credentialStatus method by which the status of a verifiable credential can be checked. When a credential is issued with a SimpleCredentialStatus2022
credentialStatus type, it gets assigned a non-delegated revocation base-token. In order to check the status or revoke the verifiable credential, a delegated revocation derived-token is used.
Revoking a verifiable credential can be done using the command-line interface with the following command:
where {vc-filepath} is the path to the verifiable credential to be checked.
e.g. Verifiable Credential - vc.json
e.g. Revoke the credential
e.g. Revocation result
The credentialStatus
property is used to identify the status of a verifiable credential. It is an optional property (meaning when it's missing, the credential is not subject to any status change), but when specified, it includes the following mandatory fields:
id - a URI which identifies a location for the credential's status
type - an arbitrary string which identifies the type of the credential status (typically revocation or suspension)
Depending on the type, a credentialStatus property can contain additional fields, according to its model specification.
Checking the status of a verifiable credential can be done using the command-line interface with the following command:
where {vc-filepath} is the path to the verifiable credential to be checked.
e.g. Verifiable Credential - vc.json
e.g. Execute the status checking for a credential
e.g. Status checking result
StatusList2021Entry is a credentialStatus method by which the status of a verifiable credential can be checked. The basic idea of it is each issued credential has a corresponding position in a bit-string (also called the status list), having a value of either 0 - not revoked, or 1 - revoked. This status list is published by the issuer as a verifiable credential with a type that includes StatusList2021Credential.
The StatusList2021Entry credentialStatus contains the following fields:
id - a URL identifying the status information for the verifiable credential
type - StatusList2021Entry
statusPurpose - the purpose of the status entry (typically revocation or suspension)
statusListIndex - the bit position of the credential within the bit-string
statusListCredential - the URL of the StatusList2021Credential credential that encapsulates the bit-string
e.g.
The StatusList2021Credential is a verifiable credential that encapsulates the bit-string information about all the credentials ever issued. The following fields have to be explicitly provided:
id - (optional) the URL to this credential (should match the statusListCredential value from StatusList2021Entry)
type - should contain StatusList2021Credential
credentialSubject
type - StatusList2021
statusPurpose - the purpose of the status credential (StatusList2021Entry should match this value)
encodedList - the compressed and base64 encoded value of the bit-string
e.g.
In order to issue a verifiable credential with a credentialStatus, the statusType
property of the proofConfig
object should be provided (e.g. 'SimpleCredentialStatus2022', 'StatusList2021Entry', etc.). If no statusType is provided, the credential will be issued without any credentialStatus property.
e.g. Issue a UniversityDegree credential having a StatusList2021Entry
credentialStatus using the REST API interface issue endpoint: https://signatory.ssikit.walt.id/v1/credentials/issue
. The request-body is presented below.
e.g. Issue a UniversityDegree credential having a StatusList2021Entry
credentialStatus using the command-line interface issue command: ssikit vc issue -h
Currently, supports the following credentialStatus methods:
More details on credentialStatus specification can be found at .
More details about StatusList2021Entry and StatusList2021Credential can be found at .
All the revocation related endpoints are located under the revocations path: https://signatory.ssikit.walt.id/v1/revocations/
:
Check is a low level function. For a high level check, refer to CredentialStatusPolicy.
Refer to the Issue with status section to learn about how to issue a verifiable credential with a credentialStatus property.
A separate revocation
command is available within the vc
command for all revocation related operations.
Check is a low level function. For a high level check, refer to CredentialStatusPolicy.
Refer to the Issue with status section to learn about how to issue a verifiable credentials with a credentialStatus property.
Revoking a verifiable credential can be done using the REST API interface by supplying the credential as the body to the following POST
request https://signatory.ssikit.walt.id/v1/revocations/revoke
.
e.g. Execute the status check for a credential with a credentialStatus property
Http.Code = 200
e.g. Execute the status check for a credential without a credentialStatus property
Http.Code = 404
Checking the status of a verifiable credential can be done using the REST API interface by supplying the credential as the body to the following POST
request https://signatory.ssikit.walt.id/v1/revocations/check
.
e.g. Execute the status check for a credential with a credentialStatus property
e.g. Execute the status check for a credential without a credentialStatus property