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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAdESDefault CAdES Archive Timestamp TypeCAdES_DETACHEDDetached timestamp, used for For ASiCCAdES_V2archive-time-stamp-v2CAdES_V3archive-time-stamp-v3JAdESarcTstPAdESDOCUMENT_TIMESTAMP covering a DSS dictionary (revision)XAdESDefault XAdES Archive Timestamp TypeXAdES_141ETSI TS 101 903 (XAdES 1.4.1) ArchiveTimeStamp
-
Method Summary
All Methods Static Methods Concrete Methods 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
Default XAdES Archive Timestamp Type
-
XAdES_141
public static final ArchiveTimestampType XAdES_141
ETSI TS 101 903 (XAdES 1.4.1) ArchiveTimeStamp
-
CAdES
public static final ArchiveTimestampType CAdES
Default CAdES Archive Timestamp Type
-
CAdES_V2
public static final ArchiveTimestampType CAdES_V2
archive-time-stamp-v2
-
CAdES_V3
public static final ArchiveTimestampType CAdES_V3
archive-time-stamp-v3
-
CAdES_DETACHED
public static final ArchiveTimestampType CAdES_DETACHED
Detached timestamp, used for For ASiC
-
JAdES
public static final ArchiveTimestampType JAdES
arcTst
-
PAdES
public static final ArchiveTimestampType PAdES
DOCUMENT_TIMESTAMP covering a DSS dictionary (revision)
-
-
Method Detail
-
values
public static ArchiveTimestampType[] 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 (ArchiveTimestampType c : ArchiveTimestampType.values()) System.out.println(c);
- 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
-
-