Module jpms_dss_validation
Class BestSignatureTimeNotBeforeCertificateIssuanceCheck<T extends eu.europa.esig.dss.detailedreport.jaxb.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 eu.europa.esig.dss.detailedreport.jaxb.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
ConstructorsConstructorDescriptionBestSignatureTimeNotBeforeCertificateIssuanceCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, Date bestSignatureTime, eu.europa.esig.dss.diagnostic.CertificateWrapper signingCertificate, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilds an additional informationprotected eu.europa.esig.dss.i18n.MessageTagReturns an i18n key String of an error message to getprotected eu.europa.esig.dss.enumerations.IndicationGets an Indication in case of failureprotected eu.europa.esig.dss.enumerations.SubIndicationGets a SubIndication in case of failureprotected eu.europa.esig.dss.i18n.MessageTagReturns an i18n key String of a message to getprotected booleanprocess()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(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, Date bestSignatureTime, eu.europa.esig.dss.diagnostic.CertificateWrapper signingCertificate, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint) The default constructor- Parameters:
i18nProvider- the il8n providerresult- the resultbestSignatureTime- the best signature timesigningCertificate- the signing certificateconstraint- the constraint
-
-
Method Details
-
process
-
buildAdditionalInfo
-
getMessageTag
protected eu.europa.esig.dss.i18n.MessageTag getMessageTag()Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getErrorMessageTag
protected eu.europa.esig.dss.i18n.MessageTag getErrorMessageTag()Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
protected eu.europa.esig.dss.enumerations.Indication getFailedIndicationForConclusion()Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
Indication
-
getFailedSubIndicationForConclusion
protected eu.europa.esig.dss.enumerations.SubIndication getFailedSubIndicationForConclusion()Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
SubIndication
-