Package eu.europa.esig.dss.enumerations
Enum Class ArchiveTimestampType
- All Implemented Interfaces:
Serializable
,Comparable<ArchiveTimestampType>
,Constable
Different types of archive timestamps.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionASN.1 Evidence Record time-stampDefault CAdES Archive Timestamp TypeDetached timestamp, used for ASiCarchive-time-stamp-v2archive-time-stamp-v3arcTstDOCUMENT_TIMESTAMP covering a DSS dictionary (revision)Default XAdES Archive Timestamp TypeETSI TS 101 903 (XAdES 1.4.1) ArchiveTimeStampXML Evidence Record time-stamp -
Method Summary
Modifier and TypeMethodDescriptionstatic ArchiveTimestampType
Returns the enum constant of this class with the specified name.static ArchiveTimestampType[]
values()
Returns an array containing the constants of this enum class, 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 ASiC -
JAdES
arcTst -
PAdES
DOCUMENT_TIMESTAMP covering a DSS dictionary (revision) -
XML_EVIDENCE_RECORD
XML Evidence Record time-stamp -
ASN1_EVIDENCE_RECORD
ASN.1 Evidence Record time-stamp
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-