public enum PaddingMethod extends java.lang.Enum<PaddingMethod>
Enum Constant and Description |
---|
CCD
Common Core Definitions padding.
|
MCHIP
M/Chip 4 padding.
|
VSDC
VISA padding
|
Modifier and Type | Method and Description |
---|---|
static PaddingMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaddingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaddingMethod VSDC
Prefix 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.
public static final PaddingMethod CCD
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
public static final PaddingMethod MCHIP
public static PaddingMethod[] values()
for (PaddingMethod c : PaddingMethod.values()) System.out.println(c);
public static PaddingMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null