Class IsAbleToSelectOneTrustService
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlValidationCertificateQualification>
eu.europa.esig.dss.validation.process.qualification.certificate.checks.IsAbleToSelectOneTrustService
Checks whether the validator was able to select one TrustService
(in condition that there is no conflict with other TrustServices)
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorsConstructorDescriptionIsAbleToSelectOneTrustService
(I18nProvider i18nProvider, XmlValidationCertificateQualification result, List<TrustServiceWrapper> trustServicesAtTime, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageTag
Returns an i18n key String of an error message to getprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureprotected MessageTag
Returns an i18n key String of a message to getprotected boolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
IsAbleToSelectOneTrustService
public IsAbleToSelectOneTrustService(I18nProvider i18nProvider, XmlValidationCertificateQualification result, List<TrustServiceWrapper> trustServicesAtTime, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlValidationCertificateQualification
trustServicesAtTime
- a list ofTrustServiceWrapper
sconstraint
-LevelConstraint
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check- Specified by:
process
in classChainItem<XmlValidationCertificateQualification>
- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<XmlValidationCertificateQualification>
- Returns:
MessageTag
key
-
getErrorMessageTag
Description copied from class:ChainItem
Returns an i18n key String of an error message to get- Overrides:
getErrorMessageTag
in classChainItem<XmlValidationCertificateQualification>
- Returns:
MessageTag
key
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlValidationCertificateQualification>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlValidationCertificateQualification>
- Returns:
SubIndication
-