Skip to main content

ICredentialIssuer interface

The interface definition for a plugin that can generate Verifiable Credentials and Presentations

Signature:

export interface ICredentialIssuer extends IPluginMethodMap

Extends: IPluginMethodMap

Remarks

Please see W3C Verifiable Credentials data model

Methods

MethodDescription
createVerifiableCredential(args, context)Creates a Verifiable Credential. The payload, signer and format are chosen based on the args parameter.
createVerifiablePresentation(args, context)Creates a Verifiable Presentation. The payload, signer and format are chosen based on the args parameter.
listUsableProofFormats(identifier, context)(BETA) Returns a list of supported proof formats.