Class TrustedAttestationKeyResolver
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.keybinding.TrustedAttestationKeyResolver
- All Implemented Interfaces:
AttestationKeyResolver
Implementation of AttestationKeyResolver that loads trusted keys for attestation validation
from configured trust-material IdPs in the client.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionLoads trusted key for attestation validation from configured trust-material IdPs in client.Resolves and validates an attestation certificate chain.
-
Constructor Details
-
TrustedAttestationKeyResolver
-
-
Method Details
-
resolveKey
Loads trusted key for attestation validation from configured trust-material IdPs in client. The trust-material IdP aliases are configured via client attributeOID4VCIConstants.OID4VCI_ATTESTER_TRUST_IDPS_ATTR.- Specified by:
resolveKeyin interfaceAttestationKeyResolver- Returns:
- JWK for the resolved trusted key, or null if not found.
-
resolveX5c
Description copied from interface:AttestationKeyResolverResolves and validates an attestation certificate chain. Returningnullmeans that none of the configured trust sources trusts the chain.- Specified by:
resolveX5cin interfaceAttestationKeyResolver
-