Skip to content

[DeviceResponse] Support WebAPI protocol #10

@siacomuzzi

Description

@siacomuzzi

Currently, the only way to generate a device response is by providing a presentation definition structure:

const deviceResponse = await DeviceResponse.from(mdoc)
  .usingPresentationDefinition({ id: '...', input_descriptors: [...] })
  // ...

But this is used by the OpenID4VP protocol only. For WebAPI, we need to support the "Device Retrieval mDOC Request" structure (defined in sections 8.3.1 and 8.3.2 of the ISO 18013-5).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions