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
public abstract class AbstractRevocationFreshCheck extends ChainItem<XmlRFC>
Abstract revocation check class
-
Field Summary
Fields Modifier and Type Field Description protected RevocationWrapperrevocationDataRevocation data to checkFields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRevocationFreshCheck(I18nProvider i18nProvider, XmlRFC result, RevocationWrapper revocationData, Date validationDate, LevelConstraint constraint)Default constructor -
Method Summary
Modifier and Type Method Description protected StringbuildAdditionalInfo()Builds an additional informationprotected MessageTaggetErrorMessageTag()Returns an i18n key String of an error message to getprotected IndicationgetFailedIndicationForConclusion()Gets an Indication in case of failureprotected SubIndicationgetFailedSubIndicationForConclusion()Gets a SubIndication in case of failureprotected abstract longgetMaxFreshness()Returns the maximum freshnessprotected MessageTaggetMessageTag()Returns an i18n key String of a message to getprotected booleanisProductionDateAfterValidationTime()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, buildXmlName, execute, getAdditionalInfo, 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-I18nProviderresult-XmlRFCrevocationData-RevocationWrappervalidationDate-Dateconstraint-LevelConstraint
-
-
Method Details
-
isProductionDateAfterValidationTime
protected boolean isProductionDateAfterValidationTime()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:ChainItemBuilds an additional information- Overrides:
buildAdditionalInfoin classChainItem<XmlRFC>- Returns:
String
-
getMessageTag
Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<XmlRFC>- Returns:
MessageTagkey
-
getErrorMessageTag
Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<XmlRFC>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<XmlRFC>- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<XmlRFC>- Returns:
SubIndication
-