microsoft / entra-verifiedid-wallet-library-ios

A library to manage your Decentralized Identities and Verified IDs on iOS.
MIT License
25 stars 11 forks source link

Update Verifiable Presentation Formatter from VC SDK to support Serializer in Wallet Library. #89

Closed symorton closed 8 months ago

symorton commented 8 months ago

Problem:

  1. All exp and iat values in tokens were Doubles, not Ints. They should be Int.
  2. The VP Formatter needed a face lift to support our new way of creating presentation responses using serialization.

Solution:

  1. Update all exps and iat values in codebase.
  2. Update VP Formatter to support old method signature and new method.

Validation: New unit tests were created and passed.

Type of change:

Risk:

Work Item links: Please include here links for this work item, or deferred work, or related work. E.g. if the refactoring is too big to fit in this PR, or the localized strings need to be updated later, please link the TODO work items here.

Documentation Links: Please include here links to any related background documentation for this PR.