Enum Class SamTraceabilityMode

java.lang.Object
java.lang.Enum<SamTraceabilityMode>
org.eclipse.keypop.calypso.crypto.legacysam.transaction.SamTraceabilityMode
All Implemented Interfaces:
Serializable, Comparable<SamTraceabilityMode>, Constable

public enum SamTraceabilityMode extends Enum<SamTraceabilityMode>
The SAM traceability mode to use with traceable signature operations.
Since:
0.3.0
  • Enum Constant Details

    • 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 Details

    • values

      public static SamTraceabilityMode[] 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

      public static SamTraceabilityMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null