Enum Class PosDataCode.SecurityCharacteristic
- All Implemented Interfaces:
Serializable, Comparable<PosDataCode.SecurityCharacteristic>, Constable, PosFlags.Flag
- Enclosing class:
PosDataCode
public static enum PosDataCode.SecurityCharacteristic
extends Enum<PosDataCode.SecurityCharacteristic>
implements PosFlags.Flag
Enumeration of security characteristics for the transaction channel.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAcquirer-managed end-to-end encryption applied.Acquirer-managed point-to-point encryption applied.Cardholder-managed end-to-end encryption applied.Cardholder-managed point-to-point encryption applied.Channel-level encryption applied.Channel-level MACing applied.End-to-end encryption applied.Merchant-managed end-to-end encryption applied.Merchant-managed point-to-point encryption applied.Transaction carried over an open network (Internet).Pass-through MACing applied.PKI encryption applied.Private algorithm encryption applied.Private algorithm MACing applied.Transaction carried over a private network.Standard algorithm MACing applied.Security characteristic is unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intBit offset within the PosDataCode byte array for security characteristic flags. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the byte offset withinPosFlags.getBytes()where this flag's mask starts.intintValue()Returns the multi-byte bit mask for this flag (low byte applied atPosFlags.Flag.getOffset()).toString()Returns the enum constant of this class with the specified name.static PosDataCode.SecurityCharacteristic[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Security characteristic is unknown. -
PRIVATE_NETWORK
Transaction carried over a private network. -
OPEN_NETWORK
Transaction carried over an open network (Internet). -
CHANNEL_MACING
Channel-level MACing applied. -
PASS_THROUGH_MACING
Pass-through MACing applied. -
CHANNEL_ENCRYPTION
Channel-level encryption applied. -
END_TO_END_ENCRYPTION
End-to-end encryption applied. -
PRIVATE_ALG_ENCRYPTION
Private algorithm encryption applied. -
PKI_ENCRYPTION
PKI encryption applied. -
PRIVATE_ALG_MACING
Private algorithm MACing applied. -
STD_ALG_MACING
Standard algorithm MACing applied. -
CARDHOLDER_MANAGED_END_TO_END_ENCRYPTION
Cardholder-managed end-to-end encryption applied. -
CARDHOLDER_MANAGED_POINT_TO_POINT_ENCRYPTION
Cardholder-managed point-to-point encryption applied. -
MERCHANT_MANAGED_END_TO_END_ENCRYPTION
Merchant-managed end-to-end encryption applied. -
MERCHANT_MANAGED_POINT_TO_POINT_ENCRYPTION
Merchant-managed point-to-point encryption applied. -
ACQUIRER_MANAGED_END_TO_END_ENCRYPTION
Acquirer-managed end-to-end encryption applied. -
ACQUIRER_MANAGED_POINT_TO_POINT_ENCRYPTION
Acquirer-managed point-to-point encryption applied.
-
-
Field Details
-
OFFSET
Bit offset within the PosDataCode byte array for security characteristic flags.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
intValue
Returns the multi-byte bit mask for this flag (low byte applied atPosFlags.Flag.getOffset()).- Specified by:
intValuein interfacePosFlags.Flag- Returns:
- bit mask as a packed integer
-
toString
- Overrides:
toStringin classEnum<PosDataCode.SecurityCharacteristic>
-
getOffset
Returns the byte offset withinPosFlags.getBytes()where this flag's mask starts.- Specified by:
getOffsetin interfacePosFlags.Flag- Returns:
- byte offset
-