Revocation Status
Credentials can be revoked or unrevoked, and as such they contain a revocation status so that verifiers/issuers can check if the credential is still valid. Once a revocation registry has been created and credentials issued with it, you can check the revocation status. Verifiers will do this automatically.
Get Revocation Status
To check if an id is revoked or not, you can check its status with the registry id (regId
) and revocation id (revId
).
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
regId | path | true | Revocation registry id. | |
revId | path | true | Credential revocation id. |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | The request was successful and will return true, if the credential is revoked, false otherwise. | Inline | |
404 | The request was unsuccessful, because the registry was not found. | ||
402 | Transaction limit reached or upgrade required to proceed | ||
400 | The request was unsuccessful, because you have not revoked or unrevoked the registered credential yet. Please try to revoke/unrevoke the registered credential and try again. |
Get Revocation Status Witness
The accumulator witness is utilized by the holder to generate a proof, which combines the witness with their revocation id associated with the credential id (revId
) and the accumulator associated with the registry id (regId
), allowing the verifier to validate the credential's status without directly accessing the revocation id on the blockchain.
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
regId | path | true | Revocation registry id. | |
revId | path | true | Credential revocation id. |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | The request was successful and will return the membership witness. | Inline | |
404 | The request was unsuccessful, because the registry was not found. | ||
402 | Transaction limit reached or upgrade required to proceed | ||
400 | The request was unsuccessful, because you have not revoked or unrevoked the registered credential yet. Please try to revoke/unrevoke the registered credential and try again. |
Last updated