eclipse-tractusx / SSI-agent-lib

Apache License 2.0
4 stars 15 forks source link

fix: select verification method from did document as per kid of JWT #99

Open nitin-vavdiya opened 5 months ago

nitin-vavdiya commented 5 months ago

Description

Changes done:

  1. Select the verification method with a matching kid header of JWT while verification
  2. Throws IllegalArgumentException if no match is found
  3. minor code refactoring for SignedJwtVerifier, Ed25519VerificationMethod and JWKVerificationMethod

Fix: https://github.com/eclipse-tractusx/SSI-agent-lib/issues/98

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review: