Package eu.europa.esig.dss.enumerations
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetReadable()Returns user friendly name of the formstatic TimestampContainerFormvalueOf(String name)Returns the enum constant of this type with the specified name.static TimestampContainerForm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static TimestampContainerForm[] 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 (TimestampContainerForm c : TimestampContainerForm.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
-