Class GrantedStatusAtTimeCheck<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.qualification.timestamp.checks.GrantedStatusAtTimeCheck<T>
- Type Parameters:
T
-XmlConstraintsConclusion
Verifies of the certificate has related TrustServices which have been 'granted'
at the given validation time
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionGrantedStatusAtTimeCheck
(I18nProvider i18nProvider, T result, List<TrustServiceWrapper> trustServicesAtTime, ValidationTime validationTime, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlMessage
Builds a constraint messageprotected XmlMessage
Builds an error messageprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureprotected boolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getLevel, getMessageTag, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
GrantedStatusAtTimeCheck
public GrantedStatusAtTimeCheck(I18nProvider i18nProvider, T result, List<TrustServiceWrapper> trustServicesAtTime, ValidationTime validationTime, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlConstraintsConclusion
trustServicesAtTime
- list ofTrustServiceWrapper
svalidationTime
-ValidationTime
the validation time typeconstraint
-LevelConstraint
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check- Specified by:
process
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
buildConstraintMessage
Description copied from class:ChainItem
Builds a constraint message- Overrides:
buildConstraintMessage
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
XmlMessage
-
buildErrorMessage
Description copied from class:ChainItem
Builds an error message- Overrides:
buildErrorMessage
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
XmlMessage
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
SubIndication
-