Enum Class Requirement.CardReaderRequirement
java.lang.Object
java.lang.Enum<Requirement.CardReaderRequirement>
se.swedenconnect.bankid.rpapi.types.Requirement.CardReaderRequirement
- All Implemented Interfaces:
Serializable
,Comparable<Requirement.CardReaderRequirement>
,Constable
- Enclosing class:
Requirement
public static enum Requirement.CardReaderRequirement
extends Enum<Requirement.CardReaderRequirement>
Represents a requirement for which type of smart card reader that is required.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe transaction must be performed using a smart card reader where the PIN code is entered on the computer's keyboard, or a card reader of a higher security class.The transaction must be performed using a smart card reader where the PIN code is entered on the reader itself, or a card reader of a higher security class. -
Method Summary
Modifier and TypeMethodDescriptionGiven a string representation its enum object is returned.getValue()
Returns the string representation of the enum.Returns the enum constant of this class with the specified name.static Requirement.CardReaderRequirement[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASS1
The transaction must be performed using a smart card reader where the PIN code is entered on the computer's keyboard, or a card reader of a higher security class. -
CLASS2
The transaction must be performed using a smart card reader where the PIN code is entered on the reader itself, or a card reader of a higher security class.
-
-
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
-
forValue
Given a string representation its enum object is returned.- Parameters:
value
- the string representation- Returns:
- a CardReaderRequirement or null if not match is found
-
getValue
Returns the string representation of the enum.- Returns:
- the string representation
-