Socket
Book a DemoInstallSign in
Socket

@kiltprotocol/jsonld-suites

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kiltprotocol/jsonld-suites

latest
npmnpm
Version
0.100.0
Version published
Weekly downloads
5
25%
Maintainers
0
Weekly downloads
 
Created
Source

Lint and Test

Data sovereignty and interoperability

Linked Data Proofs Compatibility Package

This package helps integrating KILT credentials with the popular @digitalbazaar/vc library (formerly known as vc-js) for issuing and verifying Verifiable Credentials and related tool chain (jsonld-signatures, crypto-ld & jsonld). It provides you with Linked Data Proof suites and documentLoader implementations that act as plugins to these libraries, enhancing them with support for the proof types and DIDs used in KILT credentials.

Installation

NPM:

npm install @kiltprotocol/jsonld-suites

YARN:

yarn add @kiltprotocol/jsonld-suites

Contents

  • KiltAttestationProofV1
    • When used as a suite in @digitalbazaar/vc or jsonld-signatures, you can:
      • verify VCs with a proof type KiltAttestationProofV1.
      • issue a KiltAttestationProofV1 type proof for a KiltCredentialV1 type VC.
      • check the revocation status of a KiltCredentialV1.
  • NoProofPurpose
    • ProofPurpose class to be used in combination with the attestation proof suite above.
  • Sr25519Signature2020
    • A suite implementation for creating and verifying sr25519 linked data signatures.
  • Sr25519VerificationKey2020
    • A key class for use with the above signature suite.
  • contexts
    • JSON-LD context defintions for all types and fields used by our suites and credentials.
  • defaultDocumentLoader
    • a documentLoader implementation that loads all KILT-specific contexts and credential schemas as well as KILT DID documents and their verification methods.

Examples

See unit test files for usage examples.

FAQs

Package last updated on 08 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts