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.
Change log:
checkPublicKeyBeforeAdding
flag ineu.europa.ec.eudi.wallet.document.DocumentManagerImpl
that enforces the check for matching public keys. In methodeu.europa.ec.eudi.wallet.document.DocumentManagerImpl#addDocument
, the public key in the received data MSO is compared against the one in theeu.europa.ec.eudi.wallet.document.IssuanceRequest
.