Module dev.eidentification.bankid
Enum Class HintCode
- All Implemented Interfaces:
Serializable
,Comparable<HintCode>
,Constable
Enumeration for representing various hint codes that might be encountered from the BankID API.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe order was cancelled.This error is returned if:The order has expired.Order is pending.Order is pending.The user did not provide their ID or the client did not launch within a certain time limit.Order is pending.New hint code may be introduced without prior notice.Order is waiting for the user to confirm that they have received this order while in a call with the RP.The order was cancelled by the user.The order was cancelled because the user indicated in the app that they are not in a call with the RP about the order.Order is pending.Order is pending. -
Method Summary
-
Enum Constant Details
-
OUTSTANDING_TRANSACTION
Order is pending. The BankID app has not yet received the order. The hintCode will later change to noClient, started or userSign. -
NO_CLIENT
Order is pending. The client has not yet received the order. -
STARTED
Order is pending. A BankID client has launched with autostarttoken but a usable ID has not yet been found in the client.When the client launches there may be a short delay until all IDs are registered.
The user may not have any usable IDs, or is yet to insert their smart card.
-
USER_MRTD
Order is pending. A client has launched and received the order but additional steps for providing MRTD information is required to proceed with the order. -
USER_CALL_CONFIRM
Order is waiting for the user to confirm that they have received this order while in a call with the RP. -
USER_SIGN
Order is pending. The BankID client has received the order. -
EXPIRED_TRANSACTION
The order has expired. The BankID security app/program did not launch, the user did not finalize the signing or the RP called collect too late. -
CERTIFICATE_ERROR
This error is returned if:The user has entered the wrong PIN code too many times. The BankID cannot be used. The user’s BankID is blocked. The user’s BankID is invalid.
-
USER_CANCEL
The order was cancelled by the user. userCancel may also be returned in some rare cases related to other user interactions. -
CANCELLED
The order was cancelled. The system received a new order for the user. -
START_FAILED
The user did not provide their ID or the client did not launch within a certain time limit. Potential causes are:RP did not use autoStartToken when launching the BankID security app. RP must correct this in their implementation. Client software was not installed or other problem with the user’s device.
-
USER_DECLINED_CALL
The order was cancelled because the user indicated in the app that they are not in a call with the RP about the order. -
UNKNOWN
New hint code may be introduced without prior notice.
-
-
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
-
of
-
getCode
-