Class TrustServiceStatusCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlXCV>
eu.europa.esig.dss.validation.process.bbb.AbstractMultiValuesCheckItem<XmlXCV>
eu.europa.esig.dss.validation.process.bbb.xcv.checks.TrustServiceStatusCheck
Checks if the certificate's usage time in the validity range of a TrustService with the accepted status
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionTrustServiceStatusCheck
(I18nProvider i18nProvider, XmlXCV result, CertificateWrapper certificate, Date usageTime, Context context, MultiValuesConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Builds an additional informationprotected 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.bbb.AbstractMultiValuesCheckItem
processValueCheck, processValuesCheck
Methods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
TrustServiceStatusCheck
public TrustServiceStatusCheck(I18nProvider i18nProvider, XmlXCV result, CertificateWrapper certificate, Date usageTime, Context context, MultiValuesConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
- the resultcertificate
-CertificateWrapper
usageTime
-Date
context
-Context
constraint
-MultiValuesConstraint
-
-
Method Details
-
process
-
buildAdditionalInfo
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<XmlXCV>
- Returns:
MessageTag
key
-
getErrorMessageTag
Description copied from class:ChainItem
Returns an i18n key String of an error message to get- Overrides:
getErrorMessageTag
in classChainItem<XmlXCV>
- Returns:
MessageTag
key
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlXCV>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlXCV>
- Returns:
SubIndication
-