Package eu.europa.esig.dss.enumerations
Enum Class QCTypeEnum
- All Implemented Interfaces:
OidBasedEnum
,OidDescription
,QCType
,Serializable
,Comparable<QCTypeEnum>
,Constable
Defines QC type identifiers based on ETSI EN 319 412-5
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionid-etsi-qct-eseal OBJECT IDENTIFIER ::= { id-etsi-qcs-QcType 2 } -- Certificate for electronic seals as defined in Regulation (EU) No 910/2014id-etsi-qct-esign OBJECT IDENTIFIER ::= { id-etsi-qcs-QcType 1 } -- Certificate for electronic signatures as defined in Regulation (EU) No 910/2014id-etsi-qct-web OBJECT IDENTIFIER ::= { id-etsi-qcs-QcType 3 } -- Certificate for website authentication as defined in Regulation (EU) No 910/2014 -
Field Summary
Fields inherited from interface eu.europa.esig.dss.enumerations.QCType
LOG, UNKNOWN_TYPE
-
Method Summary
Modifier and TypeMethodDescriptionstatic QCTypeEnum
Gets a QCType for the given label description stringThis method returns the literal description of the OIDgetOid()
This method returns the OID valuestatic QCTypeEnum
Returns the enum constant of this class with the specified name.static QCTypeEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QCT_ESIGN
id-etsi-qct-esign OBJECT IDENTIFIER ::= { id-etsi-qcs-QcType 1 } -- Certificate for electronic signatures as defined in Regulation (EU) No 910/2014 -
QCT_ESEAL
id-etsi-qct-eseal OBJECT IDENTIFIER ::= { id-etsi-qcs-QcType 2 } -- Certificate for electronic seals as defined in Regulation (EU) No 910/2014 -
QCT_WEB
id-etsi-qct-web OBJECT IDENTIFIER ::= { id-etsi-qcs-QcType 3 } -- Certificate for website authentication as defined in Regulation (EU) No 910/2014
-
-
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
-
getOid
Description copied from interface:OidBasedEnum
This method returns the OID value- Specified by:
getOid
in interfaceOidBasedEnum
- Returns:
- the OID value
-
getDescription
Description copied from interface:OidDescription
This method returns the literal description of the OID- Specified by:
getDescription
in interfaceOidDescription
- Returns:
- the OID description
-
forLabel
Gets a QCType for the given label description string- Parameters:
description
-String
- Returns:
QCStatement
-