Enum Class PaddingMethod
- All Implemented Interfaces:
Serializable, Comparable<PaddingMethod>, Constable
Indicate padding method for encripting data (e.g. pin block) used by the issuer.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PaddingMethodReturns the enum constant of this class with the specified name.static PaddingMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VSDC
VISA paddingPrefix data with byte containing the length of that data and then force ISO/IEC 9797-1 padding method 2 even if length of padded data are multiply of eight.
-
CCD
Common Core Definitions padding.Force ISO/IEC 9797-1 padding method 2 even if length of padded data are multiply of eight. In addition use the Cipher Block Chaining (CBC) Mode of Triple DES algotithm Described in EMV v4.2 Book 2 - June 2008, section 9.3.3
-
MCHIP
M/Chip 4 padding. Used ISO/IEC 9797-1 padding method 2
-
-
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
-