ICreateVerifiablePresentationArgs interface
Encapsulates the parameters required to create a W3C Verifiable Presentation
Signature:
export interface ICreateVerifiablePresentationArgs extends UsingResolutionOptions
Extends: UsingResolutionOptions
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(Optional) Optional (only JWT) string challenge parameter to add to the verifiable presentation. | ||
|
string |
(Optional) Optional string domain parameter to add to the verifiable presentation. | ||
|
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 presentation. If this is not specified, the first matching key will be used. | ||
|
The JSON payload of the Presentation according to the canonical model. The signer of the Presentation is chosen based on the
| |||
|
The desired format for the VerifiablePresentation to be created. | |||
|
boolean |
(Optional) Remove payload members during JWT-JSON transformation. Defaults to | ||
|
boolean |
(Optional) If this parameter is true, the resulting VerifiablePresentation is sent to the storage plugin to be saved. |