Skip to main content

ICredentialProvider interface

The interface definition for a sub-plugin that can issue and verify Verifiable Data (e.g. Verifiable Credentials and Presentations)

Signature:

export interface ICredentialProvider extends IssuerMethods, VerifierMethods

Extends: IssuerMethods, VerifierMethods

Remarks

Please see W3C Verifiable Credentials data model

Methods

Method

Description

canIssueProofFormat(query)

Checks if this provider can issue a credential or presentation in a particular format.

canVerifyDocumentType(query)

Checks if this provider can attempt to verify a document.

getProofFormatsSupportedForKey(key)

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