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.

Get Revocation Status

get

Get the revocation status of a credential. More info about Revocation Status

Authorizations
Path parameters
regIdstring · min: 64 · max: 64Required

32 byte hex string. Ignoring higher base (base64) for simplicity.

revIdstring · min: 64 · max: 64Required

32 byte hex string. Ignoring higher base (base64) for simplicity.

Responses
200
Returns true if credential is revoked, otherwise false is returned.
application/json
get
GET /revocationStatus/{regId}/{revId} HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
{
  "type": true
}

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.

Get Revocation Status Witness

get

Get the revocation status witness of a BBS+ credential. More info about Revocation Status

Authorizations
Path parameters
regIdstring · min: 64 · max: 64Required

32 byte hex string. Ignoring higher base (base64) for simplicity.

revIdstring · min: 64 · max: 64Required

32 byte hex string. Ignoring higher base (base64) for simplicity.

Responses
200
Returns the membership witness of a BBS+ credential.
application/json
Responseobject
get
GET /revocationStatus/{regId}/{revId}/witness HTTP/1.1
Host: api-testnet.truvera.io
Authorization: Bearer JWT
Accept: */*
{}

Last updated

Was this helpful?