Enum ServiceQualification

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NOT_QUALIFIED
      NotQualified ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/NotQualified"): to indicate that no certificates identified by the applicable list of criteria are to be considered as qualified certificates.
      QC_FOR_ESEAL
      QCForESeal ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForESeal"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, are issued for electronic seals;
      QC_FOR_ESIG
      QCForESig ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForESig"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, are issued for electronic signatures;
      QC_FOR_LEGAL_PERSON
      QCForLegalPerson("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForLegalPerson"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, are issued to legal persons;
      QC_FOR_WSA
      QCForWSA ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForWSA"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, are issued for web site authentication;
      QC_NO_QSCD
      QCNoQSCD ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCNoQSCD"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, do not have their private key residing in a QSCD
      QC_NO_SSCD
      QCNoSSCD ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCNoSSCD"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, do not have their private key residing in an SSCD
      QC_QSCD_MANAGED_ON_BEHALF
      QCQSCDManagedOnBehalf ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCQSCDManagedOnBehalf"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, have their private key residing in a QSCD for which the generation and management of that private key is done by the qualified TSP on behalf of the entity whose identity is certified in the certificate;
      QC_QSCD_STATUS_AS_IN_CERT
      QCQSCDStatusAsInCert ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCQSCDStatusAsInCert"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, do contain proper machine processable information about whether or not their private key residing in a QSCD;
      QC_SSCD_STATUS_AS_IN_CERT
      QCSSCDStatusAsInCert ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCSSCDStatusAsInCert"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, do contain proper machine processable information about whether or not their private key residing in an SSCD;
      QC_STATEMENT
      QCStatement ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCStatement"): to indicate that all certificates identified by the applicable list of criteria are issued as qualified certificates.
      QC_WITH_QSCD
      QCWithQSCD ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCWithQSCD"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, have their private key residing in a QSCD
      QC_WITH_SSCD
      QCWithSSCD ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCWithSSCD"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, have their private key residing in an SSCD
    • Enum Constant Detail

      • QC_STATEMENT

        public static final ServiceQualification QC_STATEMENT
        QCStatement ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCStatement"): to indicate that all certificates identified by the applicable list of criteria are issued as qualified certificates.
      • NOT_QUALIFIED

        public static final ServiceQualification NOT_QUALIFIED
        NotQualified ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/NotQualified"): to indicate that no certificates identified by the applicable list of criteria are to be considered as qualified certificates.
      • QC_WITH_SSCD

        public static final ServiceQualification QC_WITH_SSCD
        QCWithSSCD ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCWithSSCD"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, have their private key residing in an SSCD
      • QC_WITH_QSCD

        public static final ServiceQualification QC_WITH_QSCD
        QCWithQSCD ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCWithQSCD"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, have their private key residing in a QSCD
      • QC_NO_SSCD

        public static final ServiceQualification QC_NO_SSCD
        QCNoSSCD ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCNoSSCD"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, do not have their private key residing in an SSCD
      • QC_NO_QSCD

        public static final ServiceQualification QC_NO_QSCD
        QCNoQSCD ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCNoQSCD"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, do not have their private key residing in a QSCD
      • QC_SSCD_STATUS_AS_IN_CERT

        public static final ServiceQualification QC_SSCD_STATUS_AS_IN_CERT
        QCSSCDStatusAsInCert ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCSSCDStatusAsInCert"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, do contain proper machine processable information about whether or not their private key residing in an SSCD;
      • QC_QSCD_STATUS_AS_IN_CERT

        public static final ServiceQualification QC_QSCD_STATUS_AS_IN_CERT
        QCQSCDStatusAsInCert ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCQSCDStatusAsInCert"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, do contain proper machine processable information about whether or not their private key residing in a QSCD;
      • QC_QSCD_MANAGED_ON_BEHALF

        public static final ServiceQualification QC_QSCD_MANAGED_ON_BEHALF
        QCQSCDManagedOnBehalf ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCQSCDManagedOnBehalf"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, have their private key residing in a QSCD for which the generation and management of that private key is done by the qualified TSP on behalf of the entity whose identity is certified in the certificate;
      • QC_FOR_LEGAL_PERSON

        public static final ServiceQualification QC_FOR_LEGAL_PERSON
        QCForLegalPerson("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForLegalPerson"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, are issued to legal persons;
      • QC_FOR_ESIG

        public static final ServiceQualification QC_FOR_ESIG
        QCForESig ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForESig"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, are issued for electronic signatures;
      • QC_FOR_ESEAL

        public static final ServiceQualification QC_FOR_ESEAL
        QCForESeal ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForESeal"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, are issued for electronic seals;
      • QC_FOR_WSA

        public static final ServiceQualification QC_FOR_WSA
        QCForWSA ("http://uri.etsi.org/TrstSvc/TrustedList/SvcInfoExt/QCForWSA"): to indicate that all certificates identified by the applicable list of criteria, when they are claimed or stated as being qualified, are issued for web site authentication;
    • Method Detail

      • values

        public static ServiceQualification[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ServiceQualification c : ServiceQualification.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServiceQualification valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getUri

        public String getUri()
        Gets URI of the AdditionalServiceInformation
        Returns:
        String
      • isQcStatement

        public static boolean isQcStatement​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCStatement' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains the 'QCStatement' identifier, FALSE otherwise
      • isNotQualified

        public static boolean isNotQualified​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'NotQualified' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains the 'NotQualified' identifier, FALSE otherwise
      • isQcNoQSCD

        public static boolean isQcNoQSCD​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCNoQSCD' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains 'QCNoQSCD' identifier, FALSE otherwise
      • isQcNoSSCD

        public static boolean isQcNoSSCD​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCNoSSCD' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains 'QCNoSSCD' identifier, FALSE otherwise
      • isQcForLegalPerson

        public static boolean isQcForLegalPerson​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCForLegalPerson' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains the 'QCForLegalPerson' identifier, FALSE otherwise
      • isQcQSCDStatusAsInCert

        public static boolean isQcQSCDStatusAsInCert​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCQSCDStatusAsInCert' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains 'QCQSCDStatusAsInCert' identifier, FALSE otherwise
      • isQcSSCDStatusAsInCert

        public static boolean isQcSSCDStatusAsInCert​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCSSCDStatusAsInCert' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains QCSSCDStatusAsInCert' identifier, FALSE otherwise
      • isQcQSCDManagedOnBehalf

        public static boolean isQcQSCDManagedOnBehalf​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCQSCDManagedOnBehalf' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains the 'QCQSCDManagedOnBehalf' identifier, FALSE otherwise
      • isQcWithQSCD

        public static boolean isQcWithQSCD​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCWithQSCD' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains 'QCWithQSCD' identifier, FALSE otherwise
      • isQcWithSSCD

        public static boolean isQcWithSSCD​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCWithSSCD' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains 'QCWithQSCD' identifier, FALSE otherwise
      • isQcForEsig

        public static boolean isQcForEsig​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCForESig' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains the 'QCForESig' identifier, FALSE otherwise
      • isQcForEseal

        public static boolean isQcForEseal​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCForESeal' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains the 'QCForESeal' identifier, FALSE otherwise
      • isQcForWSA

        public static boolean isQcForWSA​(List<String> qualifiers)
        Gets whether the list of TrustedService qualifiers contains 'QCForWSA' identifier
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        TRUE if the list of qualifiers contains the 'QCForWSA' identifier, FALSE otherwise
      • getUsageQualifiers

        public static List<String> getUsageQualifiers​(List<String> qualifiers)
        Filters qualifiers containing the usage type identifiers (i.e. 'QCForESig', 'QCForESeal' or 'QCForWSA')
        Parameters:
        qualifiers - list of String qualifiers extracted from a TrustedService
        Returns:
        filtered list of qualifiers containing the usage type identifiers