Package eu.europa.esig.dss.enumerations
Enum QCTypeEnum
- java.lang.Object
-
- java.lang.Enum<QCTypeEnum>
-
- eu.europa.esig.dss.enumerations.QCTypeEnum
-
- All Implemented Interfaces:
OidBasedEnum,OidDescription,QCType,Serializable,Comparable<QCTypeEnum>
public enum QCTypeEnum extends Enum<QCTypeEnum> implements QCType
Defines QC type identifiers based on ETSI EN 319 412-5
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QCT_ESEALid-etsi-qct-eseal OBJECT IDENTIFIER ::= { id-etsi-qcs-QcType 2 } -- Certificate for electronic seals as defined in Regulation (EU) No 910/2014QCT_ESIGNid-etsi-qct-esign OBJECT IDENTIFIER ::= { id-etsi-qcs-QcType 1 } -- Certificate for electronic signatures as defined in Regulation (EU) No 910/2014QCT_WEBid-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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()This method returns the literal description of the OIDStringgetOid()This method returns the OID valuestatic QCTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static QCTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QCT_ESIGN
public static final QCTypeEnum 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
public static final QCTypeEnum 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
public static final QCTypeEnum 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 Detail
-
values
public static QCTypeEnum[] 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 (QCTypeEnum c : QCTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QCTypeEnum 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
-
getOid
public String getOid()
Description copied from interface:OidBasedEnumThis method returns the OID value- Specified by:
getOidin interfaceOidBasedEnum- Returns:
- the OID value
-
getDescription
public String getDescription()
Description copied from interface:OidDescriptionThis method returns the literal description of the OID- Specified by:
getDescriptionin interfaceOidDescription- Returns:
- the OID description
-
-