Skip to main content

CredentialProviderLD class

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.

A Veramo Credential sub-plugin that implements a ICredentialProvider with support for Verifiable Credentials and Presentations using JSON-LD proofs.

This API may change without a BREAKING CHANGE notice.

Signature:

export declare class CredentialProviderLD implements ICredentialProvider

Implements: ICredentialProvider

Constructors

Constructor

Modifiers

Description

(constructor)(options)

(BETA) Constructs a new instance of the CredentialProviderLD class

Methods

Method

Modifiers

Description

canIssueProofFormat(query)

(BETA)

canVerifyDocumentType(query)

(BETA) Checks if this provider can attempt to verify a document.

createVerifiableCredential(args, context)

(BETA)

createVerifiablePresentation(args, context)

(BETA)

getProofFormatsSupportedForKey(key)

(BETA) Lists the proof formats supported by this provider for a given key

verifyCredential(args, context)

(BETA)

verifyPresentation(args, context)

(BETA)