Class AttestationProofValidatorFactory
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.keybinding.AttestationProofValidatorFactory
- All Implemented Interfaces:
ProofValidatorFactory,OID4VCEnvironmentProviderFactory,EnvironmentDependentProviderFactory,ProviderFactory<ProofValidator>
Factory for creating AttestationProofValidator instances with configurable trusted keys.
Trusted keys are loaded from multiple sources with the following priority (highest to lowest):
- Keys by ID from realm attribute 'oid4vc.attestation.trusted_key_ids': Keys referenced by their keyId from the realm's key providers (can include disabled keys, not exposed in well-known endpoints)
- Keys from realm attribute 'oid4vc.attestation.trusted_keys': Explicit JWK JSON array
- Realm session keys (default): All enabled keys from the realm's key providers (exposed in well-known endpoints)
- Author:
- Rodrick Awambeng
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.protocol.oid4vc.OID4VCEnvironmentProviderFactory
isSupportedMethods inherited from interface org.keycloak.protocol.oid4vc.issuance.keybinding.ProofValidatorFactory
close, init, postInitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Constructor Details
-
AttestationProofValidatorFactory
public AttestationProofValidatorFactory()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceProviderFactory<ProofValidator>
-
create
- Specified by:
createin interfaceProviderFactory<ProofValidator>
-