Package eu.europa.esig.dss.enumerations
Enum Class ArchiveTimestampHashIndexVersion
java.lang.Object
java.lang.Enum<ArchiveTimestampHashIndexVersion>
eu.europa.esig.dss.enumerations.ArchiveTimestampHashIndexVersion
- All Implemented Interfaces:
Serializable
,Comparable<ArchiveTimestampHashIndexVersion>
,Constable
Defines a version type of the ats-hash-index attribute from the archive-time-stamp-v3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated ats-hash-index Attribute.Deprecated ats-hash-index-v2 Attribute.ats-hash-index-v3 Attribute. -
Method Summary
Modifier and TypeMethodDescriptionGets theArchiveTimeStampHashIndexType
for the given label, if foundGets theArchiveTimeStampHashIndexType
for the given OID, if foundgetLabel()
Gets a user-friendlyString
text labelgetOid()
Gets unique object identifierReturns the enum constant of this class with the specified name.static ArchiveTimestampHashIndexVersion[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATS_HASH_INDEX
Deprecated ats-hash-index Attribute. See TS 101-733, ch. "6.4.2 ats-hash-index Attribute" -
ATS_HASH_INDEX_V2
Deprecated ats-hash-index-v2 Attribute. See ETSI EN 319 122-1 v1.0.0, ch. "5.5.2 The ats-hash-index-v2 attribute" -
ATS_HASH_INDEX_V3
ats-hash-index-v3 Attribute. See ETSI EN 319 122-1 v1.1.0, ch. "5.5.2 The ats-hash-index-v3 attribute"
-
-
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
-
getLabel
Gets a user-friendlyString
text label- Returns:
String
-
getOid
Gets unique object identifier- Returns:
String
-
forLabel
Gets theArchiveTimeStampHashIndexType
for the given label, if found- Parameters:
label
-String
user-friendly text label identifying the ats-hash-index version type- Returns:
ArchiveTimestampHashIndexVersion
-
forOid
Gets theArchiveTimeStampHashIndexType
for the given OID, if found- Parameters:
oid
-String
unique object identifier- Returns:
ArchiveTimestampHashIndexVersion
-