Package org.keycloak

Class OID4VCConstants.KeyAttestationResistanceLevels

java.lang.Object
org.keycloak.OID4VCConstants.KeyAttestationResistanceLevels
Enclosing class:
OID4VCConstants

public static class OID4VCConstants.KeyAttestationResistanceLevels extends Object
from the OID4VCI specification:
  Appendix D.2. Attack Potential Resistance

  This specification defines the following values for key_storage and user_authentication:
  iso_18045_high: It MUST be used when key storage or user authentication is resistant to attack with attack
  potential "High", equivalent to VAN.5 according to [ISO.18045].
  iso_18045_moderate: It MUST be used when key storage or user authentication is resistant to attack with attack
  potential "Moderate", equivalent to VAN.4 according to [ISO.18045]. iso_18045_enhanced-basic: It MUST be used
  when key storage or user authentication is resistant to attack with attack potential "Enhanced-Basic",
  equivalent to VAN.3 according to [ISO.18045]. iso_18045_basic: It MUST be used when key storage or user
  authentication is resistant to attack with attack potential "Basic", equivalent to VAN.2 according to
  [ISO.18045]. Specifications that extend this list MUST choose collision-resistant values.
 

this tells us that the KeyAttestationResistance is potentially extendable, and must therefore be handled with strings