ICredentialIssuer interface
The interface definition for a plugin that can generate Verifiable Credentials and Presentations
Signature:export interface ICredentialIssuer extends IPluginMethodMap
Remarks
Please see W3C Verifiable Credentials data model
Methods
Method | Description |
---|---|
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. |