openwallet-foundation-labs / sd-jwt-kotlin

A Kotlin implementation of the Selective Disclosure JWT (SD-JWT) spec.
Apache License 2.0
23 stars 10 forks source link

Added verifier interface #9

Closed markuskreusch-bdr closed 10 months ago

markuskreusch-bdr commented 10 months ago

Added SdJwtVerifier to allow dynamic creation of a JWSVerifier based on the already parsed but unverified SD-JWT. This mechanism replaces the old iss to JWK map. A default implementation to use the old mechanism is provided as TrustedIssuersSdJwtVerifier.

Closes #7

fabian-hk commented 10 months ago

Looks good. Thank you very much for your contribution!