eu-digital-identity-wallet / eudi-lib-ios-wallet-kit

This repository contains the EUDI Wallet Kit library for iOS. The library is a part of the EUDI Wallet Reference Implementation project.
https://eu-digital-identity-wallet.github.io/eudi-lib-ios-wallet-kit/
Apache License 2.0
6 stars 8 forks source link

Refactor MdocDecodable (DocType, DocumentIdentifier, createdAt), Support for multiple documents with the same DocType #33

Closed stzouvaras closed 1 month ago

stzouvaras commented 2 months ago

Instead of using the docType as the main identifier of the document, we need to expose the DocumentIdentifier (UUID) and provide deletion and fetch capabilities based on that.

there is a new requirement for identifying the main PID, for this, we need the issuance date (when the document was added to the wallet) inside the MdocDecodable to identify the oldest one.

We need to make sure for remote presentation multiple disclosable documents can be fetched and shown by the wallet even if the docType is the same, e.g. 2 PIDs