Package eu.europa.esig.dss.enumerations
Enum 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 CAdES
Default CAdES Archive Timestamp TypeCAdES_DETACHED
Detached timestamp, used for For ASiCCAdES_V2
archive-time-stamp-v2CAdES_V3
archive-time-stamp-v3JAdES
arcTstPAdES
DOCUMENT_TIMESTAMP covering a DSS dictionary (revision)XAdES
Default XAdES Archive Timestamp TypeXAdES_141
ETSI TS 101 903 (XAdES 1.4.1) ArchiveTimeStamp -
Method Summary
Modifier and Type Method Description static ArchiveTimestampType
valueOf(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 Details
-
XAdES
Default XAdES Archive Timestamp Type -
XAdES_141
ETSI TS 101 903 (XAdES 1.4.1) ArchiveTimeStamp -
CAdES
Default CAdES Archive Timestamp Type -
CAdES_V2
archive-time-stamp-v2 -
CAdES_V3
archive-time-stamp-v3 -
CAdES_DETACHED
Detached timestamp, used for For ASiC -
JAdES
arcTst -
PAdES
DOCUMENT_TIMESTAMP covering a DSS dictionary (revision)
-
-
Method Details
-
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
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
-