Package com.protegrity.ap.java
Enum PTYCharset
- All Implemented Interfaces:
Serializable,Comparable<PTYCharset>
Encoding types for input data in protection operations.
The ptyCharsets parameter is mandatory for the data elements created with Unicode Gen2 tokenization method and the FPE encryption method. The encoding set for the ptyCharsets parameter must match the encoding of the input data passed. The default value for the ptyCharsets parameter is UTF-8.
Supported Encodings:
- UTF-8
- UTF-16LE
- UTF-16BE
- Since:
- 1.0.1
- Author:
- Protegrity
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CharsetgetPTYCharset(PTYCharset... charset) static PTYCharsetReturns the enum constant of this type with the specified name.static PTYCharset[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UTF8
-
UTF16LE
-
UTF16BE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getPTYCharset
-