Package es.gob.afirma.tsl.certValidation
Class TspServiceQualifier
- java.lang.Object
-
- es.gob.afirma.tsl.certValidation.TspServiceQualifier
-
- All Implemented Interfaces:
java.io.Serializable
public class TspServiceQualifier extends java.lang.Object implements java.io.SerializableClass representing the qualifiers contained in a TSPservice that identifies a certificate.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 25/09/2023.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TspServiceQualifier()Constructor method for the class TSLQualifier.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckQcForEsealgAndNotQualifiedAndQCStatementCompliance()Method that check whether the following qualifiers are present among them: 'QCForESig' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForEseal"), 'NotQualified' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/NotQualified") or 'QCStatement' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCStatement")booleancheckQcForEsigAndNotQualifiedAndQCStatementCompliance()Method that check whether the following qualifiers are present among them: 'QCForESig' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForESig"), 'NotQualified' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/NotQualified") or 'QCStatement' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCStatement")booleancheckQcForWSAAndNotQualifiedAndQCStatementCompliance()Method that check whether the following qualifiers are present among them: 'QCForESig' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForWSA"), 'NotQualified' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/NotQualified") and 'QCStatement' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCStatement") qcForESealjava.lang.StringgetColumnCheck1()Method that obtains the column to be selected in the table Table 1: QC-For-eSig determination.java.lang.StringgetColumnCheck1Dir1999_93_EC()Method that obtains the column to be selected in the Table 5: QC-For-eSig determination under Directive 1999/93/EC [i.7]java.lang.StringgetColumnCheck2()Method that obtains the column to be selected in the table Table 2: QC-For-eSeal determinationjava.lang.StringgetColumnCheck3()Method that obtains the column to be selected in the table Table 3: QC-For-WebSiteAuthentication determinationbooleanisNotQualified()Gets the value of the attributenotQualified.booleanisQcForESeal()Gets the value of the attributeqcForESeal.booleanisQcForESig()Gets the value of the attributeqcForESig.booleanisQcForLegalPerson()Gets the value of the attributeqcForLegalPerson.booleanisQcForWSA()Gets the value of the attributeqcForWSA.booleanisQcNoQSCD()Gets the value of the attributeqcNoQSCD.booleanisQcNoSSCD()Gets the value of the attributeqcNoSSCD.booleanisQcQSCDManagedOnBehalf()Gets the value of the attributeqcQSCDManagedOnBehalf.booleanisQcQSCDStatusAsInCert()Gets the value of the attributeqcQSCDStatusAsInCert.booleanisQcSSCDStatusAsInCert()Gets the value of the attributeqcSSCDStatusAsInCert.booleanisQcStatement()Gets the value of the attributeqcStatement.booleanisQcWithQSCD()Gets the value of the attributeqcWithQSCD.booleanisQcWithSSCD()Gets the value of the attributeqcWithSSCD.voidsetNotQualified(boolean notQualified)Sets the value of the attributenotQualified.voidsetQcForESeal(boolean qcForESeal)Sets the value of the attributeqcForESeal.voidsetQcForESig(boolean qcForESig)Sets the value of the attributeqcForESig.voidsetQcForLegalPerson(boolean qcForLegalPerson)Sets the value of the attributeqcForLegalPerson.voidsetQcForWSA(boolean qcForWSA)Sets the value of the attributeqcForWSA.voidsetQcNoQSCD(boolean qcNoQSCD)Sets the value of the attributeqcNoQSCD.voidsetQcNoSSCD(boolean qcNoSSCD)Sets the value of the attributeqcNoSSCD.voidsetQcQSCDManagedOnBehalf(boolean qcQSCDManagedOnBehalf)Sets the value of the attributeqcQSCDManagedOnBehalf.voidsetQcQSCDStatusAsInCert(boolean qcQSCDStatusAsInCert)Sets the value of the attributeqcQSCDStatusAsInCert.voidsetQcSSCDStatusAsInCert(boolean qcSSCDStatusAsInCert)Sets the value of the attributeqcSSCDStatusAsInCert.voidsetQcStatement(boolean qcStatement)Sets the value of the attributeqcStatement.voidsetQcWithQSCD(boolean qcWithQSCD)Sets the value of the attributeqcWithQSCD.voidsetQcWithSSCD(boolean qcWithSSCD)Sets the value of the attributeqcWithSSCD.
-
-
-
Method Detail
-
checkQcForEsigAndNotQualifiedAndQCStatementCompliance
public boolean checkQcForEsigAndNotQualifiedAndQCStatementCompliance()
Method that check whether the following qualifiers are present among them: 'QCForESig' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForESig"), 'NotQualified' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/NotQualified") or 'QCStatement' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCStatement")- Returns:
- {code true} if QCForESig or notQualified or qcStatement is
established,
falseotherwise.
-
checkQcForEsealgAndNotQualifiedAndQCStatementCompliance
public boolean checkQcForEsealgAndNotQualifiedAndQCStatementCompliance()
Method that check whether the following qualifiers are present among them: 'QCForESig' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForEseal"), 'NotQualified' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/NotQualified") or 'QCStatement' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCStatement")- Returns:
- {code true} if qcForESeal or notQualified or qcStatement is
established,
falseotherwise.
-
checkQcForWSAAndNotQualifiedAndQCStatementCompliance
public boolean checkQcForWSAAndNotQualifiedAndQCStatementCompliance()
Method that check whether the following qualifiers are present among them: 'QCForESig' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForWSA"), 'NotQualified' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/NotQualified") and 'QCStatement' ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCStatement") qcForESeal- Returns:
- {code true} if qcForWSA or notQualified or qcStatement is
established,
falseotherwise.
-
getColumnCheck1
public java.lang.String getColumnCheck1()
Method that obtains the column to be selected in the table Table 1: QC-For-eSig determination.- Returns:
- Selected column.
-
getColumnCheck2
public java.lang.String getColumnCheck2()
Method that obtains the column to be selected in the table Table 2: QC-For-eSeal determination- Returns:
- Selected column.
-
getColumnCheck3
public java.lang.String getColumnCheck3()
Method that obtains the column to be selected in the table Table 3: QC-For-WebSiteAuthentication determination- Returns:
- Selected column.
-
isNotQualified
public boolean isNotQualified()
Gets the value of the attributenotQualified.- Returns:
- the value of the attribute
notQualified.
-
setNotQualified
public void setNotQualified(boolean notQualified)
Sets the value of the attributenotQualified.- Parameters:
notQualified- The value for the attributenotQualified.
-
isQcStatement
public boolean isQcStatement()
Gets the value of the attributeqcStatement.- Returns:
- the value of the attribute
qcStatement.
-
setQcStatement
public void setQcStatement(boolean qcStatement)
Sets the value of the attributeqcStatement.- Parameters:
qcStatement- The value for the attributeqcStatement.
-
isQcForESig
public boolean isQcForESig()
Gets the value of the attributeqcForESig.- Returns:
- the value of the attribute
qcForESig.
-
setQcForESig
public void setQcForESig(boolean qcForESig)
Sets the value of the attributeqcForESig.- Parameters:
qcForESig- The value for the attributeqcForESig.
-
isQcForESeal
public boolean isQcForESeal()
Gets the value of the attributeqcForESeal.- Returns:
- the value of the attribute
qcForESeal.
-
setQcForESeal
public void setQcForESeal(boolean qcForESeal)
Sets the value of the attributeqcForESeal.- Parameters:
qcForESeal- The value for the attributeqcForESeal.
-
isQcForWSA
public boolean isQcForWSA()
Gets the value of the attributeqcForWSA.- Returns:
- the value of the attribute
qcForWSA.
-
setQcForWSA
public void setQcForWSA(boolean qcForWSA)
Sets the value of the attributeqcForWSA.- Parameters:
qcForWSA- The value for the attributeqcForWSA.
-
isQcForLegalPerson
public boolean isQcForLegalPerson()
Gets the value of the attributeqcForLegalPerson.- Returns:
- the value of the attribute
qcForLegalPerson.
-
setQcForLegalPerson
public void setQcForLegalPerson(boolean qcForLegalPerson)
Sets the value of the attributeqcForLegalPerson.- Parameters:
qcForLegalPerson- The value for the attributeqcForLegalPerson.
-
isQcWithSSCD
public boolean isQcWithSSCD()
Gets the value of the attributeqcWithSSCD.- Returns:
- the value of the attribute
qcWithSSCD.
-
setQcWithSSCD
public void setQcWithSSCD(boolean qcWithSSCD)
Sets the value of the attributeqcWithSSCD.- Parameters:
qcWithSSCD- The value for the attributeqcWithSSCD.
-
isQcNoSSCD
public boolean isQcNoSSCD()
Gets the value of the attributeqcNoSSCD.- Returns:
- the value of the attribute
qcNoSSCD.
-
setQcNoSSCD
public void setQcNoSSCD(boolean qcNoSSCD)
Sets the value of the attributeqcNoSSCD.- Parameters:
qcNoSSCD- The value for the attributeqcNoSSCD.
-
isQcSSCDStatusAsInCert
public boolean isQcSSCDStatusAsInCert()
Gets the value of the attributeqcSSCDStatusAsInCert.- Returns:
- the value of the attribute
qcSSCDStatusAsInCert.
-
setQcSSCDStatusAsInCert
public void setQcSSCDStatusAsInCert(boolean qcSSCDStatusAsInCert)
Sets the value of the attributeqcSSCDStatusAsInCert.- Parameters:
qcSSCDStatusAsInCert- The value for the attributeqcSSCDStatusAsInCert.
-
isQcWithQSCD
public boolean isQcWithQSCD()
Gets the value of the attributeqcWithQSCD.- Returns:
- the value of the attribute
qcWithQSCD.
-
setQcWithQSCD
public void setQcWithQSCD(boolean qcWithQSCD)
Sets the value of the attributeqcWithQSCD.- Parameters:
qcWithQSCD- The value for the attributeqcWithQSCD.
-
isQcNoQSCD
public boolean isQcNoQSCD()
Gets the value of the attributeqcNoQSCD.- Returns:
- the value of the attribute
qcNoQSCD.
-
setQcNoQSCD
public void setQcNoQSCD(boolean qcNoQSCD)
Sets the value of the attributeqcNoQSCD.- Parameters:
qcNoQSCD- The value for the attributeqcNoQSCD.
-
isQcQSCDStatusAsInCert
public boolean isQcQSCDStatusAsInCert()
Gets the value of the attributeqcQSCDStatusAsInCert.- Returns:
- the value of the attribute
qcQSCDStatusAsInCert.
-
setQcQSCDStatusAsInCert
public void setQcQSCDStatusAsInCert(boolean qcQSCDStatusAsInCert)
Sets the value of the attributeqcQSCDStatusAsInCert.- Parameters:
qcQSCDStatusAsInCert- The value for the attributeqcQSCDStatusAsInCert.
-
isQcQSCDManagedOnBehalf
public boolean isQcQSCDManagedOnBehalf()
Gets the value of the attributeqcQSCDManagedOnBehalf.- Returns:
- the value of the attribute
qcQSCDManagedOnBehalf.
-
setQcQSCDManagedOnBehalf
public void setQcQSCDManagedOnBehalf(boolean qcQSCDManagedOnBehalf)
Sets the value of the attributeqcQSCDManagedOnBehalf.- Parameters:
qcQSCDManagedOnBehalf- The value for the attributeqcQSCDManagedOnBehalf.
-
getColumnCheck1Dir1999_93_EC
public java.lang.String getColumnCheck1Dir1999_93_EC()
Method that obtains the column to be selected in the Table 5: QC-For-eSig determination under Directive 1999/93/EC [i.7]- Returns:
- Selected column.
-
-