Class BestSignatureTimeNotBeforeCertificateIssuanceCheck<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<T>
eu.europa.esig.dss.validation.process.vpfltvd.checks.BestSignatureTimeNotBeforeCertificateIssuanceCheck<T>
- Type Parameters:
T
- implementation of the block's conclusion
public class BestSignatureTimeNotBeforeCertificateIssuanceCheck<T extends XmlConstraintsConclusion>
extends ChainItem<T>
If best-signature-time is before the issuance date of the signing
certificate, the process shall return the indication FAILED with the
sub-indication NOT_YET_VALID. Otherwise, the process shall return the
indication and sub-indication which was returned by previous step.
NOTE:
currentIndication
and currentSubIndication
shall be null when
return of original result is not required-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionBestSignatureTimeNotBeforeCertificateIssuanceCheck
(I18nProvider i18nProvider, T result, Date bestSignatureTime, CertificateWrapper signingCertificate, LevelConstraint constraint) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Builds an additional informationprotected 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
-
BestSignatureTimeNotBeforeCertificateIssuanceCheck
public BestSignatureTimeNotBeforeCertificateIssuanceCheck(I18nProvider i18nProvider, T result, Date bestSignatureTime, CertificateWrapper signingCertificate, LevelConstraint constraint) The default constructor- Parameters:
i18nProvider
- the il8n providerresult
- the resultbestSignatureTime
- the best signature timesigningCertificate
- the signing certificateconstraint
- the constraint
-
-
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
-
buildAdditionalInfo
Description copied from class:ChainItem
Builds an additional information- Overrides:
buildAdditionalInfo
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
String
-
getMessageTag
Description copied from class:ChainItem
Returns an i18n key String of a message to get- Overrides:
getMessageTag
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
MessageTag
key
-
getErrorMessageTag
Description copied from class:ChainItem
Returns an i18n key String of an error message to get- Overrides:
getErrorMessageTag
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
MessageTag
key
-
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
-