Enum Class Exportability
- All Implemented Interfaces:
Serializable, Comparable<Exportability>, Constable
Defines the conditions under which the key contained in the key block can be
exported outside the cryptographic domain in which the key is found.
Each value repesents byte 11 of the Keyblok Header.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionchargetCode()Get exportability code.getName()Get exportability name.toString()static ExportabilityReturns the enum constant of this class with the specified name.static ExportabilityvalueOfByCode(char code) Returns the enum constant of this type with the specifiedcode.static Exportability[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANY
May only be exported in a trusted key block, provided the wrapping key itself is in a trusted format. -
NONE
No export permitted. -
TRUSTED
May only be exported in a trusted key block, provided the wrapping key itself is in a trusted format only if allowed.Sensitive; all other export possibilities are permitted, provided such export has been enabled (existing Authorized State requirements remain).
-
-
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
-
getName
-
toString
- Overrides:
toStringin classEnum<Exportability>
-
valueOfByCode
Returns the enum constant of this type with the specifiedcode.- Parameters:
code- the string must match exactly with identifier specified by ISO 8583-1:2003(E) Table A.22 — Transaction type codes- Returns:
- the enum constant with the specified processing code or
nullif unknown.
-