Package com.thalesgroup.gemalto.fido2
Enum Class Fido2ErrorCode
- All Implemented Interfaces:
Serializable,Comparable<Fido2ErrorCode>,Constable
Fido2 specific error codes
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperation aborted.Operation data is inadequate or contains error.Encoding and decoding operation failed.Google authenticator failed.A network error was encountered.Cannot find the matching credentialsOperation not allowed.Operation is not supported.Passkeys authenticator failed.The operation is insecure.Unknown error.Unsafe environment detected.User is already enrolled.A user lockout was encountered.User is not enrolled. -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Returns integer value of the enum.Returns message of the enum.static Fido2ErrorCodeReturns the enum constant of this class with the specified name.static Fido2ErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR_UNKNOWN_ERROR
Unknown error. -
ERROR_ABORTED
Operation aborted. -
ERROR_NOT_ALLOWED
Operation not allowed. -
ERROR_NOT_SUPPORTED
Operation is not supported. -
ERROR_DATA_ERROR
Operation data is inadequate or contains error. -
ERROR_ENCODING_ERROR
Encoding and decoding operation failed. -
ERROR_NETWORK_ERROR
A network error was encountered. -
ERROR_SECURITY_ERROR
The operation is insecure. -
ERROR_USER_NOT_ENROLLED
User is not enrolled. -
ERROR_USER_ALREADY_ENROLLED
User is already enrolled. -
ERROR_USER_LOCKOUT
A user lockout was encountered. -
ERROR_GOOGLE_AUTHENTICATOR
Google authenticator failed. -
ERROR_UNSAFE_ENVIRONMENT_DETECTED
Unsafe environment detected.- Since:
- 1.3.0
-
ERROR_PASSKEYS_AUTHENTICATOR
Passkeys authenticator failed. -
ERROR_NO_CREDENTIALS_FOUND
Cannot find the matching credentials -
ERROR_NO_AVAILABLE_AUTHENTICATORS
-
ERROR_PIN_RULES_VALIDATION_ERROR
-
ERROR_DOMAIN_VALIDATION_FAILED_ERROR
-
ERROR_MISSING_ACTIVITY
-
-
Method Details
-
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
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 nameNullPointerException- 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
Returns message of the enum.- Returns:
- The corresponding message.
- Since:
- 1.2.0
-