credential-w3c package

Provides a plugin for the Agent that implements ICredentialIssuer interface.

Provides a plugin for the MessageHandler that verifies Credentials and Presentations in a message.

Classes

ClassDescription
CredentialIssuerA Veramo plugin that implements the ICredentialIssuer methods.
W3cMessageHandlerAn implementation of the AbstractMessageHandler .This plugin can handle incoming W3C Verifiable Credentials and Presentations and prepare them for internal storage as Message types.The current version can only handle JWT encoded

Interfaces

InterfaceDescription
ICreateVerifiableCredentialArgsEncapsulates the parameters required to create a W3C Verifiable Credential
ICreateVerifiablePresentationArgsEncapsulates the parameters required to create a W3C Verifiable Presentation
ICredentialIssuerThe interface definition for a plugin that can generate Verifiable Credentials and Presentations

Variables

VariableDescription
schema

Type Aliases

Type AliasDescription
EncodingFormatThe type of encoding to be used for the Verifiable Credential or Presentation to be generated. Only jwt is supported at the moment.