Enum Class Fido2ErrorCode

java.lang.Object
java.lang.Enum<Fido2ErrorCode>
com.thalesgroup.gemalto.fido2.Fido2ErrorCode
All Implemented Interfaces:
Serializable, Comparable<Fido2ErrorCode>, Constable

public enum Fido2ErrorCode extends Enum<Fido2ErrorCode>
Fido2 specific error codes
Since:
1.0.0
  • Enum Constant Details

    • ERROR_UNKNOWN_ERROR

      public static final Fido2ErrorCode ERROR_UNKNOWN_ERROR
      Unknown error.
    • ERROR_ABORTED

      public static final Fido2ErrorCode ERROR_ABORTED
      Operation aborted.
    • ERROR_NOT_ALLOWED

      public static final Fido2ErrorCode ERROR_NOT_ALLOWED
      Operation not allowed.
    • ERROR_NOT_SUPPORTED

      public static final Fido2ErrorCode ERROR_NOT_SUPPORTED
      Operation is not supported.
    • ERROR_DATA_ERROR

      public static final Fido2ErrorCode ERROR_DATA_ERROR
      Operation data is inadequate or contains error.
    • ERROR_ENCODING_ERROR

      public static final Fido2ErrorCode ERROR_ENCODING_ERROR
      Encoding and decoding operation failed.
    • ERROR_NETWORK_ERROR

      public static final Fido2ErrorCode ERROR_NETWORK_ERROR
      A network error was encountered.
    • ERROR_SECURITY_ERROR

      public static final Fido2ErrorCode ERROR_SECURITY_ERROR
      The operation is insecure.
    • ERROR_USER_NOT_ENROLLED

      public static final Fido2ErrorCode ERROR_USER_NOT_ENROLLED
      User is not enrolled.
    • ERROR_USER_ALREADY_ENROLLED

      public static final Fido2ErrorCode ERROR_USER_ALREADY_ENROLLED
      User is already enrolled.
    • ERROR_USER_LOCKOUT

      public static final Fido2ErrorCode ERROR_USER_LOCKOUT
      A user lockout was encountered.
    • ERROR_GOOGLE_AUTHENTICATOR

      public static final Fido2ErrorCode ERROR_GOOGLE_AUTHENTICATOR
      Google authenticator failed.
    • ERROR_UNSAFE_ENVIRONMENT_DETECTED

      public static final Fido2ErrorCode ERROR_UNSAFE_ENVIRONMENT_DETECTED
      Unsafe environment detected.
      Since:
      1.3.0
    • ERROR_PASSKEYS_AUTHENTICATOR

      public static final Fido2ErrorCode ERROR_PASSKEYS_AUTHENTICATOR
      Passkeys authenticator failed.
    • ERROR_NO_CREDENTIALS_FOUND

      public static final Fido2ErrorCode ERROR_NO_CREDENTIALS_FOUND
      Cannot find the matching credentials
    • ERROR_NO_AVAILABLE_AUTHENTICATORS

      public static final Fido2ErrorCode ERROR_NO_AVAILABLE_AUTHENTICATORS
    • ERROR_PIN_RULES_VALIDATION_ERROR

      public static final Fido2ErrorCode ERROR_PIN_RULES_VALIDATION_ERROR
    • ERROR_DOMAIN_VALIDATION_FAILED_ERROR

      public static final Fido2ErrorCode ERROR_DOMAIN_VALIDATION_FAILED_ERROR
    • ERROR_MISSING_ACTIVITY

      public static final Fido2ErrorCode ERROR_MISSING_ACTIVITY
  • Method Details

    • values

      public static Fido2ErrorCode[] 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 Fido2ErrorCode 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
    • getCode

      public int getCode()
      Returns integer value of the enum.
      Returns:
      The corresponding integer value.
      Since:
      1.0.0
    • getMessage

      public String getMessage()
      Returns message of the enum.
      Returns:
      The corresponding message.
      Since:
      1.2.0