Class RevocationDateAfterBestSignatureTimeCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlValidationProcessLongTermData>
eu.europa.esig.dss.validation.process.vpfltvd.checks.RevocationDateAfterBestSignatureTimeCheck
public class RevocationDateAfterBestSignatureTimeCheck
extends ChainItem<XmlValidationProcessLongTermData>
Checks if the revocation date is after best-signature-time
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionRevocationDateAfterBestSignatureTimeCheck
(I18nProvider i18nProvider, XmlValidationProcessLongTermData result, CertificateRevocationWrapper certificateRevocation, Date bestSignatureTime, LevelConstraint constraint, SubContext subContext) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Builds an additional informationprotected MessageTag
Returns the MessageTag to be used to build the additional infoprotected 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 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.ChainItem
buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
RevocationDateAfterBestSignatureTimeCheck
public RevocationDateAfterBestSignatureTimeCheck(I18nProvider i18nProvider, XmlValidationProcessLongTermData result, CertificateRevocationWrapper certificateRevocation, Date bestSignatureTime, LevelConstraint constraint, SubContext subContext) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlValidationProcessLongTermData
certificateRevocation
-CertificateRevocationWrapper
bestSignatureTime
-Date
constraint
-LevelConstraint
subContext
-SubContext
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check- Specified by:
process
in classChainItem<XmlValidationProcessLongTermData>
- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
buildAdditionalInfo
Description copied from class:ChainItem
Builds an additional information- Overrides:
buildAdditionalInfo
in classChainItem<XmlValidationProcessLongTermData>
- Returns:
String
-
getBestSignatureTimeRevocationCheckMessageTag
Returns the MessageTag to be used to build the additional info- Returns:
MessageTag
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<XmlValidationProcessLongTermData>
- Returns:
MessageTag
key
-
getErrorMessageTag
Description copied from class:ChainItem
Returns an i18n key String of an error message to get- Overrides:
getErrorMessageTag
in classChainItem<XmlValidationProcessLongTermData>
- Returns:
MessageTag
key
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlValidationProcessLongTermData>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlValidationProcessLongTermData>
- Returns:
SubIndication
-