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
FieldsFields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractRevocationFreshCheck(I18nProvider i18nProvider, XmlRFC result, RevocationWrapper revocationData, Date validationDate, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilds an additional informationprotected MessageTagReturns an i18n key String of an error message to getprotected IndicationGets an Indication in case of failureprotected SubIndicationGets a SubIndication in case of failureprotected abstract longReturns the maximum freshnessprotected MessageTagReturns an i18n key String of a message to getprotected booleanReturns 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-I18nProviderresult-XmlRFCrevocationData-RevocationWrappervalidationDate-Dateconstraint-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
-
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
-