Class Qualifications
- java.lang.Object
-
- es.gob.afirma.tsl.parsing.impl.common.extensions.Extension
-
- es.gob.afirma.tsl.parsing.impl.common.extensions.Qualifications
-
- All Implemented Interfaces:
IAnyTypeExtension,java.io.Serializable
public class Qualifications extends Extension
Class that represents a qualification criteria extension. The qualification criteria is specified by a set of Qualification Elements, each one expressed as a list of assertions to be verified and a list of qualifiers that apply to the examined certificate when all the assertions are verified. The certificate is qualified with all the qualifiers obtained with the application of all the qualification elements.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.1, 15/06/2021.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface es.gob.afirma.tsl.parsing.ifaces.IAnyTypeExtension
IMPL_ADDITIONAL_SERVICE_INFORMATION, IMPL_EXPIRED_CERTS_REVOCATION_INFO, IMPL_QUALIFICATIONS, IMPL_TAKENOVERBY, IMPL_UNKNOWN_EXTENSION, TYPE_SCHEME, TYPE_SERVICE_INFORMATION, TYPE_TSP_INFORMATION
-
-
Constructor Summary
Constructors Constructor Description Qualifications(boolean isCritical, int extensionType)Constructor method for the class Qualifications.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNewQualificationElement(QualificationElement qe)Adds new Qualification Element to the list if it is notnull.java.util.List<QualificationElement>getQualificationsList()Gets the value of the attributequalificationsList.booleanisThereSomeQualificationElement()Checks if there is at least one qualification element.-
Methods inherited from class es.gob.afirma.tsl.parsing.impl.common.extensions.Extension
checkExtensionValue, extensionTypeToString, getExtensionType, getImplementationExtension, isCritical
-
-
-
-
Constructor Detail
-
Qualifications
public Qualifications(boolean isCritical, int extensionType)Constructor method for the class Qualifications.java.- Parameters:
isCritical- Flag to indicate if this extension is critical (true) or not (false).extensionType- Extension type. Refer to its location inside the XML. It could be one of the following:- Scheme Extension:
IAnyTypeExtension.TYPE_SCHEME - Scheme Extension:
IAnyTypeExtension.TYPE_TSP_INFORMATION - Scheme Extension:
IAnyTypeExtension.TYPE_SERVICE_INFORMATION
- Scheme Extension:
-
-
Method Detail
-
getQualificationsList
public final java.util.List<QualificationElement> getQualificationsList()
Gets the value of the attributequalificationsList.- Returns:
- the value of the attribute
qualificationsList.
-
addNewQualificationElement
public final void addNewQualificationElement(QualificationElement qe)
Adds new Qualification Element to the list if it is notnull.- Parameters:
qe- Qualification Element to add.
-
isThereSomeQualificationElement
public final boolean isThereSomeQualificationElement()
Checks if there is at least one qualification element.- Returns:
trueif there is at least one qualification element. otherwisefalse.
-
-