Skip to main content

ICreateVerifiablePresentationLDArgs interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Encapsulates the parameters required to create a W3C Verifiable Presentation

This API may change without a BREAKING CHANGE notice.

Signature:

export interface ICreateVerifiablePresentationLDArgs extends UsingResolutionOptions

Extends: UsingResolutionOptions

Properties

PropertyModifiersTypeDescription
challenge?string(BETA) (Optional) Optional (only JWT) string challenge parameter to add to the verifiable presentation.
domain?string(BETA) (Optional) Optional string domain parameter to add to the verifiable presentation.
fetchRemoteContexts?boolean

(BETA) (Optional) Set this to true if you want the @context URLs to be fetched in case they are not preloaded.

Defaults to false

keyRef?string(BETA) (Optional) Optional. The key handle (IKey.kid) from the internal database.
presentationPresentationPayload

(BETA) The json payload of the Presentation according to the canonical model.

The signer of the Presentation is chosen based on the holder property of the presentation

@context, type and issuanceDate will be added automatically if omitted.