Class TrustMaterialSdJwtIssuerResolver

java.lang.Object
org.keycloak.broker.provider.TrustMaterialSdJwtIssuerResolver
All Implemented Interfaces:
TrustedSdJwtIssuerResolver

public class TrustMaterialSdJwtIssuerResolver extends Object implements TrustedSdJwtIssuerResolver
Bridges the TrustMaterialIdentityProviders with the given aliases to a TrustedSdJwtIssuerResolver. When any of them exposes X.509 trust anchors, chain validation is mandated as required by HAIP 6.1.1: the x5c header of the credential's issuer signed JWT must validate against the anchors and the chain leaf key verifies the signature, a credential without an x5c header is rejected. Only when none of them has X.509 trust anchors are the trusted keys looked up by the issuer key hints (kid, alg, iss). TODO: Support looking up the JWKS dynamically from the .well-known/jwt-vc-issuer endpoint of the issuer in the credential.