Class AbstractRevocationFreshCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlRFC>
eu.europa.esig.dss.validation.process.bbb.xcv.rfc.checks.AbstractRevocationFreshCheck
- Direct Known Subclasses:
RevocationDataFreshCheck
,RevocationDataFreshCheckWithNullConstraint
Abstract revocation check class
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractRevocationFreshCheck
(I18nProvider i18nProvider, XmlRFC result, RevocationWrapper revocationData, Date validationDate, LevelConstraint 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 abstract long
Returns the maximum freshnessprotected MessageTag
Returns an i18n key String of a message to getprotected boolean
Returns if the revocation production data is after validation time with the allowed freshnessMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, process, setNextItem
-
Field Details
-
revocationData
Revocation data to check
-
-
Constructor Details
-
AbstractRevocationFreshCheck
protected AbstractRevocationFreshCheck(I18nProvider i18nProvider, XmlRFC result, RevocationWrapper revocationData, Date validationDate, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlRFC
revocationData
-RevocationWrapper
validationDate
-Date
constraint
-LevelConstraint
-
-
Method Details
-
isThisUpdateTimeAfterValidationTime
protected boolean isThisUpdateTimeAfterValidationTime()Returns if the revocation production data is after validation time with the allowed freshness- Returns:
- TRUE is revocation is after validation time, FALSE otherwise
-
getMaxFreshness
protected abstract long getMaxFreshness()Returns the maximum freshness- Returns:
- maximum freshness
-
buildAdditionalInfo
Description copied from class:ChainItem
Builds an additional information- Overrides:
buildAdditionalInfo
in classChainItem<XmlRFC>
- Returns:
String
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<XmlRFC>
- Returns:
MessageTag
key
-
getErrorMessageTag
Description copied from class:ChainItem
Returns an i18n key String of an error message to get- Overrides:
getErrorMessageTag
in classChainItem<XmlRFC>
- Returns:
MessageTag
key
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlRFC>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlRFC>
- Returns:
SubIndication
-