Enum TimestampContainerForm

java.lang.Object
java.lang.Enum<TimestampContainerForm>
eu.europa.esig.dss.enumerations.TimestampContainerForm
All Implemented Interfaces:
Serializable, Comparable<TimestampContainerForm>

public enum TimestampContainerForm extends Enum<TimestampContainerForm>
Used for a detached timestamping service
  • Enum Constant Details

    • PDF

      public static final TimestampContainerForm PDF
      Used to timestamp a PDF document
    • ASiC_E

      public static final TimestampContainerForm ASiC_E
      Used to timestamp provided document(s) and creates an ASiC-E container
    • ASiC_S

      public static final TimestampContainerForm ASiC_S
      Used to timestamp provided document(s) and creates an ASiC-S container
  • Method Details

    • values

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

      public static TimestampContainerForm 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 name
      NullPointerException - if the argument is null
    • getReadable

      public String getReadable()
      Returns user friendly name of the form
      Returns:
      String