Class QualificationElement
- java.lang.Object
-
- es.gob.afirma.tsl.parsing.impl.common.extensions.QualificationElement
-
- All Implemented Interfaces:
java.io.Serializable
public class QualificationElement extends java.lang.Object implements java.io.SerializableClass that represents a field bundles a list of assertions that specifies the attributes a certificate must have (e.g. certain key-usage-bits set) and a list of qualifiers that specify some certificate properties (e.g. it is a qualified certificate).
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.1, 15/06/2021.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QualificationElement()Constructor method for the class QualificationElement.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CriteriaListaddNewCriteriaList(java.lang.String assertType)Adds a new criteria list with the assert type specified.voidaddNewQualifier(java.net.URI qualifierUri)Adds new Qualifier URI.CriteriaListgetCriteriaList()Gets the value of the attributecriteriaList.java.util.List<java.net.URI>getQualifiersList()Gets the value of the attributequalifiersList.booleanisThereSomeQualifierUri()Checks if there is at least one qualifier uri.
-
-
-
Method Detail
-
getQualifiersList
public final java.util.List<java.net.URI> getQualifiersList()
Gets the value of the attributequalifiersList.- Returns:
- the value of the attribute
qualifiersList.
-
addNewQualifier
public final void addNewQualifier(java.net.URI qualifierUri)
Adds new Qualifier URI.- Parameters:
qualifierUri- Qualifier URI to add.
-
isThereSomeQualifierUri
public final boolean isThereSomeQualifierUri()
Checks if there is at least one qualifier uri.- Returns:
trueif there is at least one qualifier uri, otherwisefalse.
-
getCriteriaList
public final CriteriaList getCriteriaList()
Gets the value of the attributecriteriaList.- Returns:
- the value of the attribute
criteriaList.
-
addNewCriteriaList
public final CriteriaList addNewCriteriaList(java.lang.String assertType)
Adds a new criteria list with the assert type specified.- Parameters:
assertType- Assert type to assing to the Criteria List.- Returns:
- Criteria List created.
-
-