Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DeviceResponse] Support WebAPI protocol #10

Open
siacomuzzi opened this issue Aug 6, 2024 · 0 comments
Open

[DeviceResponse] Support WebAPI protocol #10

siacomuzzi opened this issue Aug 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@siacomuzzi
Copy link
Contributor

siacomuzzi commented Aug 6, 2024

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).

@siacomuzzi siacomuzzi added the enhancement New feature or request label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant