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 AbstractRevocationFreshCheck
revocationDataFields inherited from class ChainItem
i18nProvider -
Constructor Summary
ConstructorsConstructorDescriptionRevocationDataFreshCheckWithNullConstraint(I18nProvider i18nProvider, XmlRFC result, RevocationWrapper revocationData, Date validationDate, LevelRule constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected longReturns the maximum freshnessprotected MessageTagReturns an i18n key String of a message to getprotected booleanprocess()Performs the checkMethods inherited from class AbstractRevocationFreshCheck
buildAdditionalInfo, getErrorMessageTag, getFailedIndicationForConclusion, getFailedSubIndicationForConclusion, isThisUpdateTimeAfterValidationTimeMethods inherited from class ChainItem
buildConstraintMessage, buildErrorMessage, buildXmlMessage, continueProcessOnFail, 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, LevelRule constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult-XmlRFCrevocationData-RevocationWrappervalidationDate-Dateconstraint-LevelRule
-
-
Method Details
-
process
-
getMaxFreshness
protected long getMaxFreshness()Description copied from class:AbstractRevocationFreshCheckReturns the maximum freshness- Specified by:
getMaxFreshnessin classAbstractRevocationFreshCheck- Returns:
- maximum freshness
-
getMessageTag
Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classAbstractRevocationFreshCheck- Returns:
MessageTagkey
-