ICreateVerifiableCredentialArgs interface
Encapsulates the parameters required to create a W3C Verifiable Credential
Signature:
export interface ICreateVerifiableCredentialArgs extends UsingResolutionOptions
Extends: UsingResolutionOptions
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
The JSON payload of the Credential according to the canonical model The signer of the Credential is chosen based on the
| |||
|
boolean |
(Optional) When dealing with JSON-LD, you also MUST provide the proper contexts. Set this to Defaults to | ||
|
string |
(Optional) [Optional] The ID of the key that should sign this credential. If this is not specified, the first matching key will be used. | ||
|
The desired format for the VerifiableCredential to be created. | |||
|
boolean |
(Optional) Remove payload members during JWT-JSON transformation. Defaults to | ||
|
boolean |
(Optional) If this parameter is true, the resulting VerifiableCredential is sent to the storage plugin to be saved. |