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