Enum Class ErrorType

java.lang.Object
java.lang.Enum<ErrorType>
org.keycloak.protocol.oid4vc.model.ErrorType
All Implemented Interfaces:
Serializable, Comparable<ErrorType>, Constable

public enum ErrorType extends Enum<ErrorType>
Enum to handle potential errors in issuing credentials with the error types defined in OID4VCI
Author:
Stefan Wiedemann
  • Enum Constant Details

    • INVALID_CREDENTIAL_REQUEST

      public static final ErrorType INVALID_CREDENTIAL_REQUEST
    • INVALID_TOKEN

      public static final ErrorType INVALID_TOKEN
    • UNKNOWN_CREDENTIAL_CONFIGURATION

      public static final ErrorType UNKNOWN_CREDENTIAL_CONFIGURATION
    • UNKNOWN_CREDENTIAL_IDENTIFIER

      public static final ErrorType UNKNOWN_CREDENTIAL_IDENTIFIER
    • INVALID_PROOF

      public static final ErrorType INVALID_PROOF
    • INVALID_NONCE

      public static final ErrorType INVALID_NONCE
    • INVALID_ENCRYPTION_PARAMETERS

      public static final ErrorType INVALID_ENCRYPTION_PARAMETERS
    • MISSING_CREDENTIAL_CONFIG

      public static final ErrorType MISSING_CREDENTIAL_CONFIG
    • MISSING_CREDENTIAL_IDENTIFIER_AND_CONFIGURATION_ID

      public static final ErrorType MISSING_CREDENTIAL_IDENTIFIER_AND_CONFIGURATION_ID
  • Method Details

    • values

      public static ErrorType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ErrorType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()