eu-digital-identity-wallet / eudi-lib-ios-openid4vci-swift

Implementation of OpenID for Verifiable Credential Issuance protocol (wallet's role) in Swift
Apache License 2.0
4 stars 5 forks source link

Support encrypted responses in deferred endpoint #37

Closed dtsiflit closed 3 weeks ago

dtsiflit commented 1 month ago

Based on discussion under OpenID4VCI issue https://github.com/openid/OpenID4VCI/issues/286 encrypted responses for deferred issuance requests must be supported the following way:

  1. If initial issuance request (batch or single) had a deferred response (transaction_id instead of the credential itself) wallet must remember the response encryption information specified in the initial request
  2. When accesing the deferred endpoint with the transaction_id returned by the issuer, wallet must expect that the response should be encrypted based on the encryption information kept from step 1.

Also indicated here