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@.
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 and Description |
|---|
Qualifications(boolean isCritical,
int extensionType)
Constructor method for the class Qualifications.java.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewQualificationElement(QualificationElement qe)
Adds new Qualification Element to the list if it is not
null. |
java.util.List<QualificationElement> |
getQualificationsList()
Gets the value of the attribute
qualificationsList. |
boolean |
isThereSomeQualificationElement()
Checks if there is at least one qualification element.
|
checkExtensionValue, extensionTypeToString, getExtensionType, getImplementationExtension, isCriticalpublic Qualifications(boolean isCritical,
int extensionType)
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:
IAnyTypeExtension.TYPE_SCHEMEIAnyTypeExtension.TYPE_TSP_INFORMATIONIAnyTypeExtension.TYPE_SERVICE_INFORMATIONpublic final java.util.List<QualificationElement> getQualificationsList()
qualificationsList.qualificationsList.public final void addNewQualificationElement(QualificationElement qe)
null.qe - Qualification Element to add.public final boolean isThereSomeQualificationElement()
true if there is at least one qualification element. otherwise false.