Skip to main content

ICredentialIssuerLD interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The interface definition for a plugin that can issue and verify Verifiable Credentials and Presentations that use JSON-LD format (also called Data Integrity Proofs).

Signature:

export interface ICredentialIssuerLD extends IPluginMethodMap

Extends: IPluginMethodMap

Remarks

Please see W3C Verifiable Credentials data model

Methods

MethodDescription
createVerifiableCredentialLD(args, context)(BETA) Creates a Verifiable Credential. The payload, signer and format are chosen based on the args parameter.
createVerifiablePresentationLD(args, context)(BETA) Creates a Verifiable Presentation. The payload, signer and format are chosen based on the args parameter.
verifyCredentialLD(args, context)(BETA) Verifies a Verifiable Credential JWT or LDS Format.
verifyPresentationLD(args, context)(BETA) Verifies a Verifiable Presentation JWT or LDS Format.