0.2.25 • Published 12 days ago
verification-sdk v0.2.25
Verification SDK for Sunbird-RC generated credentials
Install
This can be used to verify JSON-LD based W3C compliant Verifiable Credentials as described in the Spec. It uses tooling from Digital Bazaar to enable verification of credentials. This supports the following Key Types:
- RSA Verification Key 2018
- Ed25519 Verification Key 2018
- Ed25519 Verification Key 2020
npm install @sunbird-rc/verification-sdk
Usage
As part of this SDK, two main functionalities exist.
- Download Revocation List from API
- Verify the JSON-LD credential with the signature suite
import {downloadRevocationList, verifyCredential} from "@sunbird-rc/verification-sdk";
const revocationList = await downloadRevocationList(issuerId, revocation_url);
const verificationStatus = await verifyCredential(issuerDid, credential, revocationList);
0.2.25
12 days ago
0.2.24
12 days ago
0.2.23
12 days ago
0.2.22
12 days ago
0.2.20
15 days ago
0.2.19
15 days ago
0.2.18
15 days ago
0.2.17
15 days ago
0.2.16
16 days ago
0.2.15
16 days ago
0.2.14
16 days ago
0.2.13
16 days ago
0.2.12
1 month ago
0.2.11
1 month ago
0.2.10
1 month ago
0.2.8
1 month ago
0.2.7
1 month ago
0.2.6
1 month ago
0.2.5
1 month ago
0.2.1
2 months ago
0.2.0
2 months ago
0.2.3
2 months ago
0.2.2
2 months ago
0.2.4
2 months ago
1.0.9
3 months ago
1.0.8
3 months ago
1.0.7
3 months ago
1.0.6
3 months ago
1.0.5
3 months ago
1.0.3
3 months ago
1.0.2
3 months ago
1.0.1
3 months ago
1.0.0
3 months ago