Enum SamTraceabilityMode
- java.lang.Object
-
- java.lang.Enum<SamTraceabilityMode>
-
- org.eclipse.keypop.calypso.crypto.legacysam.transaction.SamTraceabilityMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SamTraceabilityMode>
public enum SamTraceabilityMode extends java.lang.Enum<SamTraceabilityMode>
The SAM traceability mode to use with traceable signature operations.- Since:
- 0.3.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL_SERIAL_NUMBER
Full SAM serial number (4 Bytes).TRUNCATED_SERIAL_NUMBER
Truncated SAM serial number (3 LSBytes)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SamTraceabilityMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SamTraceabilityMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL_SERIAL_NUMBER
public static final SamTraceabilityMode FULL_SERIAL_NUMBER
Full SAM serial number (4 Bytes).- Since:
- 0.3.0
-
TRUNCATED_SERIAL_NUMBER
public static final SamTraceabilityMode TRUNCATED_SERIAL_NUMBER
Truncated SAM serial number (3 LSBytes)- Since:
- 0.3.0
-
-
Method Detail
-
values
public static SamTraceabilityMode[] 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 (SamTraceabilityMode c : SamTraceabilityMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SamTraceabilityMode 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
-
-