Class TspServiceQualifier

  • All Implemented Interfaces:
    java.io.Serializable

    public class TspServiceQualifier
    extends java.lang.Object
    implements java.io.Serializable

    Class 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 Detail

      • TspServiceQualifier

        public TspServiceQualifier()
        Constructor method for the class TSLQualifier.java.
    • 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, false otherwise.
      • 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, false otherwise.
      • 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, false otherwise.
      • 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 attribute notQualified.
        Returns:
        the value of the attribute notQualified.
      • setNotQualified

        public void setNotQualified​(boolean notQualified)
        Sets the value of the attribute notQualified.
        Parameters:
        notQualified - The value for the attribute notQualified.
      • isQcStatement

        public boolean isQcStatement()
        Gets the value of the attribute qcStatement.
        Returns:
        the value of the attribute qcStatement.
      • setQcStatement

        public void setQcStatement​(boolean qcStatement)
        Sets the value of the attribute qcStatement.
        Parameters:
        qcStatement - The value for the attribute qcStatement.
      • isQcForESig

        public boolean isQcForESig()
        Gets the value of the attribute qcForESig.
        Returns:
        the value of the attribute qcForESig.
      • setQcForESig

        public void setQcForESig​(boolean qcForESig)
        Sets the value of the attribute qcForESig.
        Parameters:
        qcForESig - The value for the attribute qcForESig.
      • isQcForESeal

        public boolean isQcForESeal()
        Gets the value of the attribute qcForESeal.
        Returns:
        the value of the attribute qcForESeal.
      • setQcForESeal

        public void setQcForESeal​(boolean qcForESeal)
        Sets the value of the attribute qcForESeal.
        Parameters:
        qcForESeal - The value for the attribute qcForESeal.
      • isQcForWSA

        public boolean isQcForWSA()
        Gets the value of the attribute qcForWSA.
        Returns:
        the value of the attribute qcForWSA.
      • setQcForWSA

        public void setQcForWSA​(boolean qcForWSA)
        Sets the value of the attribute qcForWSA.
        Parameters:
        qcForWSA - The value for the attribute qcForWSA.
      • isQcForLegalPerson

        public boolean isQcForLegalPerson()
        Gets the value of the attribute qcForLegalPerson.
        Returns:
        the value of the attribute qcForLegalPerson.
      • setQcForLegalPerson

        public void setQcForLegalPerson​(boolean qcForLegalPerson)
        Sets the value of the attribute qcForLegalPerson.
        Parameters:
        qcForLegalPerson - The value for the attribute qcForLegalPerson.
      • isQcWithSSCD

        public boolean isQcWithSSCD()
        Gets the value of the attribute qcWithSSCD.
        Returns:
        the value of the attribute qcWithSSCD.
      • setQcWithSSCD

        public void setQcWithSSCD​(boolean qcWithSSCD)
        Sets the value of the attribute qcWithSSCD.
        Parameters:
        qcWithSSCD - The value for the attribute qcWithSSCD.
      • isQcNoSSCD

        public boolean isQcNoSSCD()
        Gets the value of the attribute qcNoSSCD.
        Returns:
        the value of the attribute qcNoSSCD.
      • setQcNoSSCD

        public void setQcNoSSCD​(boolean qcNoSSCD)
        Sets the value of the attribute qcNoSSCD.
        Parameters:
        qcNoSSCD - The value for the attribute qcNoSSCD.
      • setQcSSCDStatusAsInCert

        public void setQcSSCDStatusAsInCert​(boolean qcSSCDStatusAsInCert)
        Sets the value of the attribute qcSSCDStatusAsInCert.
        Parameters:
        qcSSCDStatusAsInCert - The value for the attribute qcSSCDStatusAsInCert.
      • isQcWithQSCD

        public boolean isQcWithQSCD()
        Gets the value of the attribute qcWithQSCD.
        Returns:
        the value of the attribute qcWithQSCD.
      • setQcWithQSCD

        public void setQcWithQSCD​(boolean qcWithQSCD)
        Sets the value of the attribute qcWithQSCD.
        Parameters:
        qcWithQSCD - The value for the attribute qcWithQSCD.
      • isQcNoQSCD

        public boolean isQcNoQSCD()
        Gets the value of the attribute qcNoQSCD.
        Returns:
        the value of the attribute qcNoQSCD.
      • setQcNoQSCD

        public void setQcNoQSCD​(boolean qcNoQSCD)
        Sets the value of the attribute qcNoQSCD.
        Parameters:
        qcNoQSCD - The value for the attribute qcNoQSCD.
      • setQcQSCDStatusAsInCert

        public void setQcQSCDStatusAsInCert​(boolean qcQSCDStatusAsInCert)
        Sets the value of the attribute qcQSCDStatusAsInCert.
        Parameters:
        qcQSCDStatusAsInCert - The value for the attribute qcQSCDStatusAsInCert.
      • setQcQSCDManagedOnBehalf

        public void setQcQSCDManagedOnBehalf​(boolean qcQSCDManagedOnBehalf)
        Sets the value of the attribute qcQSCDManagedOnBehalf.
        Parameters:
        qcQSCDManagedOnBehalf - The value for the attribute qcQSCDManagedOnBehalf.
      • 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.