eu-digital-identity-wallet / eudi-lib-android-wallet-document-manager

Apache License 2.0
4 stars 2 forks source link

Public key matching before adding document #16

Closed vkanellopoulos closed 9 months ago

vkanellopoulos commented 9 months ago

Change log:

  1. Add checkPublicKeyBeforeAdding flag in eu.europa.ec.eudi.wallet.document.DocumentManagerImpl that enforces the check for matching public keys. In method eu.europa.ec.eudi.wallet.document.DocumentManagerImpl#addDocument, the public key in the received data MSO is compared against the one in the eu.europa.ec.eudi.wallet.document.IssuanceRequest.