Enum FieldLevelEncryptionConfig.FieldValueEncoding
- java.lang.Object
-
- java.lang.Enum<FieldLevelEncryptionConfig.FieldValueEncoding>
-
- com.mastercard.developer.encryption.FieldLevelEncryptionConfig.FieldValueEncoding
-
- All Implemented Interfaces:
Serializable
,Comparable<FieldLevelEncryptionConfig.FieldValueEncoding>
- Enclosing class:
- FieldLevelEncryptionConfig
public static enum FieldLevelEncryptionConfig.FieldValueEncoding extends Enum<FieldLevelEncryptionConfig.FieldValueEncoding>
The different ways of encoding the field and header values.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FieldLevelEncryptionConfig.FieldValueEncoding
valueOf(String name)
Returns the enum constant of this type with the specified name.static FieldLevelEncryptionConfig.FieldValueEncoding[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE64
public static final FieldLevelEncryptionConfig.FieldValueEncoding BASE64
-
HEX
public static final FieldLevelEncryptionConfig.FieldValueEncoding HEX
-
-
Method Detail
-
values
public static FieldLevelEncryptionConfig.FieldValueEncoding[] 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 (FieldLevelEncryptionConfig.FieldValueEncoding c : FieldLevelEncryptionConfig.FieldValueEncoding.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldLevelEncryptionConfig.FieldValueEncoding valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-