Class RevocationDataFreshCheckWithNullConstraint
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlRFC>
eu.europa.esig.dss.validation.process.bbb.xcv.rfc.checks.AbstractRevocationFreshCheck
eu.europa.esig.dss.validation.process.bbb.xcv.rfc.checks.RevocationDataFreshCheckWithNullConstraint
Checks if the revocation data is fresh against its ThisUpdate and NextUpdate time interval
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.bbb.xcv.rfc.checks.AbstractRevocationFreshCheck
revocationData
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionRevocationDataFreshCheckWithNullConstraint
(I18nProvider i18nProvider, XmlRFC result, RevocationWrapper revocationData, Date validationDate, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected long
Returns the maximum freshnessprotected 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.xcv.rfc.checks.AbstractRevocationFreshCheck
buildAdditionalInfo, getErrorMessageTag, getFailedIndicationForConclusion, getFailedSubIndicationForConclusion, isThisUpdateTimeAfterValidationTime
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
-
RevocationDataFreshCheckWithNullConstraint
public RevocationDataFreshCheckWithNullConstraint(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
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check -
getMaxFreshness
protected long getMaxFreshness()Description copied from class:AbstractRevocationFreshCheck
Returns the maximum freshness- Specified by:
getMaxFreshness
in classAbstractRevocationFreshCheck
- Returns:
- maximum freshness
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classAbstractRevocationFreshCheck
- Returns:
MessageTag
key
-