Package es.gob.afirma.tsl.certValidation
Enum QCResult
- java.lang.Object
-
- java.lang.Enum<QCResult>
-
- es.gob.afirma.tsl.certValidation.QCResult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<QCResult>
public enum QCResult extends java.lang.Enum<QCResult>
lass representing the possible qualification values returned by procedure 4..4.EU qualified certificate determination of ETSI TS 119 615 v.1.1.1.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 25/09/2023.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INDET_QC_FOR_ESEALAttribute representing the qualification value'INDET_QC_FOR_ESEAL'.INDET_QC_FOR_ESIGAttribute representing the qualification value'INDET_QC_FOR_ESIG'.INDET_QWACAttribute representing the qualification value'INDET_QWAC'.INDETERMINATEAttribute representing the qualification value'INDETERMINATE'.NOT_QUALIFIEDAttribute representing the qualification value 'NOT_QUALIFIED'.NOT_QUALIFIED_FOR_ESEALAttribute representing the qualification value'NOT_QUALIFIED_FOR_ESEAL'.NOT_QUALIFIED_FOR_ESIGAttribute representing the qualification value'NOT_QUALIFIED_FOR_ESIG'.NOT_QWACAttribute representing the qualification value'NOT_QWAC'.QC_FOR_ESEALAttribute representing the qualification value'QC_FOR_ESEAL'.QC_FOR_ESIGAttribute representing the qualification value'QC_FOR_ESIG'.QWACAttribute representing the qualification value'QWAC'.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QCResultgetQCResult(java.lang.String qc)Obtains a SignatureFormat instance by a format name.java.lang.StringgetQualifiedCertificate()Gets the value of the attributequalifiedCertificate.static QCResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QCResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_QUALIFIED
public static final QCResult NOT_QUALIFIED
Attribute representing the qualification value 'NOT_QUALIFIED'.
-
NOT_QUALIFIED_FOR_ESIG
public static final QCResult NOT_QUALIFIED_FOR_ESIG
Attribute representing the qualification value'NOT_QUALIFIED_FOR_ESIG'.
-
NOT_QUALIFIED_FOR_ESEAL
public static final QCResult NOT_QUALIFIED_FOR_ESEAL
Attribute representing the qualification value'NOT_QUALIFIED_FOR_ESEAL'.
-
NOT_QWAC
public static final QCResult NOT_QWAC
Attribute representing the qualification value'NOT_QWAC'.
-
QC_FOR_ESIG
public static final QCResult QC_FOR_ESIG
Attribute representing the qualification value'QC_FOR_ESIG'.
-
QC_FOR_ESEAL
public static final QCResult QC_FOR_ESEAL
Attribute representing the qualification value'QC_FOR_ESEAL'.
-
QWAC
public static final QCResult QWAC
Attribute representing the qualification value'QWAC'.
-
INDET_QC_FOR_ESIG
public static final QCResult INDET_QC_FOR_ESIG
Attribute representing the qualification value'INDET_QC_FOR_ESIG'.
-
INDET_QC_FOR_ESEAL
public static final QCResult INDET_QC_FOR_ESEAL
Attribute representing the qualification value'INDET_QC_FOR_ESEAL'.
-
INDET_QWAC
public static final QCResult INDET_QWAC
Attribute representing the qualification value'INDET_QWAC'.
-
INDETERMINATE
public static final QCResult INDETERMINATE
Attribute representing the qualification value'INDETERMINATE'.
-
-
Method Detail
-
values
public static QCResult[] 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 (QCResult c : QCResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QCResult valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getQualifiedCertificate
public java.lang.String getQualifiedCertificate()
Gets the value of the attributequalifiedCertificate.- Returns:
- the value of the attribute
qualifiedCertificate.
-
getQCResult
public static final QCResult getQCResult(java.lang.String qc)
Obtains a SignatureFormat instance by a format name.- Parameters:
qc- name of signature format.- Returns:
- a SignatureFormat instance
-
-