Package eu.europa.esig.dss.enumerations
Enum TimestampLocation
- java.lang.Object
-
- java.lang.Enum<TimestampLocation>
-
- eu.europa.esig.dss.enumerations.TimestampLocation
-
- All Implemented Interfaces:
Serializable,Comparable<TimestampLocation>
public enum TimestampLocation extends Enum<TimestampLocation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAdESDOC_TIMESTAMPXAdES
-
Method Summary
Modifier and Type Method Description static TimestampLocationvalueOf(String name)Returns the enum constant of this type with the specified name.static TimestampLocation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XAdES
public static final TimestampLocation XAdES
-
CAdES
public static final TimestampLocation CAdES
-
DOC_TIMESTAMP
public static final TimestampLocation DOC_TIMESTAMP
-
-
Method Detail
-
values
public static TimestampLocation[] 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 TimestampLocation 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
-
-