public static enum CryptogramDataBuilder.PaddingMethod extends java.lang.Enum<CryptogramDataBuilder.PaddingMethod>
Enum Constant and Description |
---|
ISO9797Method1
ISO/IEC 9797-1 padding method 1
for Block size 8, n = 64
|
ISO9797Method2
ISO/IEC 9797-1 padding method 2
for Block size 8, n = 64
|
ISO9797Method3
ISO/IEC 9797-1 padding method 3
for Block size 8, n = 64
|
NO_PADDING |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(java.lang.String data) |
static CryptogramDataBuilder.PaddingMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CryptogramDataBuilder.PaddingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptogramDataBuilder.PaddingMethod NO_PADDING
public static final CryptogramDataBuilder.PaddingMethod ISO9797Method1
public static final CryptogramDataBuilder.PaddingMethod ISO9797Method2
public static final CryptogramDataBuilder.PaddingMethod ISO9797Method3
public static CryptogramDataBuilder.PaddingMethod[] values()
for (CryptogramDataBuilder.PaddingMethod c : CryptogramDataBuilder.PaddingMethod.values()) System.out.println(c);
public static CryptogramDataBuilder.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 nullpublic java.lang.String apply(java.lang.String data)