View a Credential Revocation List

Obtain a Revocation List

The revocation list can be obtained from the credentialStatus property defined in the Credential or saved as meta-data in the Credential Registry.

This will be a publicly available endpoint, in general an Issuer does not need to view this data and a Verifier on the MATTR Platform will obtain this data automatically.

Copy to clipboard.


Copy to clipboard.
2  "id": "",
3  "@context": [
4    "",
5    ""
6  ],
7  "type": [
8    "VerifiableCredential",
9    "RevocationList2020Credential"
10  ],
11  "issuer": "did:key:z6MkndAHigYrXNpape7jgaC7jHiWwxzB3chuKUGXJg2b5RSj",
12  "credentialSubject": {
13    "type": "RevocationList2020",
15  },
16  "issuanceDate": "2020-10-04T22:20:48.861Z",
17  "proof": {
18    "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..iwouae64R3vVidRasfUUyKJ3EBj7PhffS_weHBOuzfNJeFAxHEB3rTQKGFQbkJozlYuMH0dRRk8rB9dvfjJECg",
19    "type": "Ed25519Signature2018",
20    "created": "2020-10-04T22:20:48Z",
21    "proofPurpose": "assertionMethod",
22    "verificationMethod": "did:key:z6MkndAHigYrXNpape7jgaC7jHiWwxzB3chuKUGXJg2b5RSj#z6MkndAHigYrXNpape7jgaC7jHiWwxzB3chuKUGXJg2b5RSj"
23  }

The returned revocation list is in the form of a JSON-LD based Verifiable Credential.

The issuer is the same issuer as defined in the credential.

The encodedList contains the bits indicating the revocation status of each Credential in the index.

Revoked Credentials

The MATTR Platform will automatically determine if a presented Credential is revoked by inspecting the Revocation List, checking that the same Issuer DID created the Credential, then decoding the encodedList and looking up the value by the index:

  • 1 means the Credential has been revoked

  • 0 means un-revoked.

Values from Credential

Copy to clipboard.
1"issuer": {
2        "id": "did:key:z6MkndAHigYrXNpape7jgaC7jHiWwxzB3chuKUGXJg2b5RSj",
3        "name": ""
4        },
5"credentialStatus": {
6        "id": "",
7        "type": "RevocationList2020Status",
8        "revocationListIndex": "4",
9        "revocationListCredential": ""
10      }

Values from Revocation List

Copy to clipboard.
1"issuer": "did:key:z6MkndAHigYrXNpape7jgaC7jHiWwxzB3chuKUGXJg2b5RSj",
2"credentialSubject": {
3    "type": "RevocationList2020",
5  },

The decoded bit-string list

Copy to clipboard.

Index 4 of the list indicates that this credential is revoked.

If a credentialStatus value has been presented and the Platform cannot retrieve the Revocation List, then it is assumed to be revoked.

A credential is always issued as un-revoked, the Issuer will need to perform an action to set the Credential as revoked on its Revocation List.