com.pax.dal.entity
Enum EDUKPTDesMode
- java.lang.Object
-
- java.lang.Enum<EDUKPTDesMode>
-
- com.pax.dal.entity.EDUKPTDesMode
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EDUKPTDesMode>
public enum EDUKPTDesMode extends java.lang.Enum<EDUKPTDesMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description CBC_DECRYPTIONCBC 解密CBC decryptionCBC_ENCRYPTIONCBC 加密CBC encryptionECB_DECRYPTIONECB 解密ECB decryptionECB_ENCRYPTIONECB 加密ECB encryption
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description bytegetDUKPTDesMode()static EDUKPTDesModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EDUKPTDesMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ECB_DECRYPTION
public static final EDUKPTDesMode ECB_DECRYPTION
ECB 解密ECB decryption
-
ECB_ENCRYPTION
public static final EDUKPTDesMode ECB_ENCRYPTION
ECB 加密ECB encryption
-
CBC_DECRYPTION
public static final EDUKPTDesMode CBC_DECRYPTION
CBC 解密CBC decryption
-
CBC_ENCRYPTION
public static final EDUKPTDesMode CBC_ENCRYPTION
CBC 加密CBC encryption
-
-
Method Detail
-
values
public static EDUKPTDesMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EDUKPTDesMode c : EDUKPTDesMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDUKPTDesMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getDUKPTDesMode
public byte getDUKPTDesMode()
-
-