Package eu.europa.esig.dss.enumerations
Enum Class ServiceQualification
- All Implemented Interfaces:
Serializable
,Comparable<ServiceQualification>
,Constable
Contains qualification statuses for TrustServices
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNotQualified ("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.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;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;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;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;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 QSCDQCNoSSCD ("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 SSCDQCQSCDManagedOnBehalf ("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;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;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;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.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 QSCDQCWithSSCD ("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 -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceQualification
This method returnsServiceQualification
for the givenuri
getUri()
Gets URI of the AdditionalServiceInformationgetUsageQualifiers
(List<String> qualifiers) Filters qualifiers containing the usage type identifiers (i.e.static boolean
isNotQualified
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'NotQualified' identifierstatic boolean
isQcForEseal
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCForESeal' identifierstatic boolean
isQcForEsig
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCForESig' identifierstatic boolean
isQcForLegalPerson
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCForLegalPerson' identifierstatic boolean
isQcForWSA
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCForWSA' identifierstatic boolean
isQcNoQSCD
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCNoQSCD' identifierstatic boolean
isQcNoSSCD
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCNoSSCD' identifierstatic boolean
isQcQSCDManagedOnBehalf
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCQSCDManagedOnBehalf' identifierstatic boolean
isQcQSCDStatusAsInCert
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCQSCDStatusAsInCert' identifierstatic boolean
isQcSSCDStatusAsInCert
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCSSCDStatusAsInCert' identifierstatic boolean
isQcStatement
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCStatement' identifierstatic boolean
isQcWithQSCD
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCWithQSCD' identifierstatic boolean
isQcWithSSCD
(List<String> qualifiers) Gets whether the list of TrustService qualifiers contains 'QCWithSSCD' identifierstatic ServiceQualification
Returns the enum constant of this class with the specified name.static ServiceQualification[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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
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
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
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
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
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
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
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
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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getUri
-
getByUri
This method returnsServiceQualification
for the givenuri
- Parameters:
uri
-String
to getServiceQualification
for- Returns:
ServiceQualification
if exists, null otherwise
-
isQcStatement
Gets whether the list of TrustService qualifiers contains 'QCStatement' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains the 'QCStatement' identifier, FALSE otherwise
-
isNotQualified
Gets whether the list of TrustService qualifiers contains 'NotQualified' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains the 'NotQualified' identifier, FALSE otherwise
-
isQcNoQSCD
Gets whether the list of TrustService qualifiers contains 'QCNoQSCD' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains 'QCNoQSCD' identifier, FALSE otherwise
-
isQcNoSSCD
Gets whether the list of TrustService qualifiers contains 'QCNoSSCD' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains 'QCNoSSCD' identifier, FALSE otherwise
-
isQcForLegalPerson
Gets whether the list of TrustService qualifiers contains 'QCForLegalPerson' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains the 'QCForLegalPerson' identifier, FALSE otherwise
-
isQcQSCDStatusAsInCert
Gets whether the list of TrustService qualifiers contains 'QCQSCDStatusAsInCert' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains 'QCQSCDStatusAsInCert' identifier, FALSE otherwise
-
isQcSSCDStatusAsInCert
Gets whether the list of TrustService qualifiers contains 'QCSSCDStatusAsInCert' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains QCSSCDStatusAsInCert' identifier, FALSE otherwise
-
isQcQSCDManagedOnBehalf
Gets whether the list of TrustService qualifiers contains 'QCQSCDManagedOnBehalf' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains the 'QCQSCDManagedOnBehalf' identifier, FALSE otherwise
-
isQcWithQSCD
Gets whether the list of TrustService qualifiers contains 'QCWithQSCD' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains 'QCWithQSCD' identifier, FALSE otherwise
-
isQcWithSSCD
Gets whether the list of TrustService qualifiers contains 'QCWithSSCD' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains 'QCWithQSCD' identifier, FALSE otherwise
-
isQcForEsig
Gets whether the list of TrustService qualifiers contains 'QCForESig' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains the 'QCForESig' identifier, FALSE otherwise
-
isQcForEseal
Gets whether the list of TrustService qualifiers contains 'QCForESeal' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains the 'QCForESeal' identifier, FALSE otherwise
-
isQcForWSA
Gets whether the list of TrustService qualifiers contains 'QCForWSA' identifier- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- TRUE if the list of qualifiers contains the 'QCForWSA' identifier, FALSE otherwise
-
getUsageQualifiers
Filters qualifiers containing the usage type identifiers (i.e. 'QCForESig', 'QCForESeal' or 'QCForWSA')- Parameters:
qualifiers
- list ofString
qualifiers extracted from a TrustService- Returns:
- filtered list of qualifiers containing the usage type identifiers
-