Module jpms_dss_validation
Class RevocationConsistentCheck<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.bbb.xcv.rac.checks.RevocationConsistentCheck<T>
- Type Parameters:
T-XmlConstraintsConclusion
public class RevocationConsistentCheck<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
extends ChainItem<T>
Checks if the revocation is consistent and can be used for the given certificate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDefines if certHash matchesprotected final eu.europa.esig.dss.diagnostic.CertificateWrapperThe certificate in questionprotected DateCertificate's NotAfterprotected DateCertificate's NotBeforeprotected DateDefines date after which the revocation issuer ensure the revocation is contained for the certificateprotected DateProducedAt time of the revocationprotected final eu.europa.esig.dss.diagnostic.RevocationWrapperRevocation data to checkprotected DateThisUpdate of the revocationFields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsConstructorDescriptionRevocationConsistentCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, eu.europa.esig.dss.diagnostic.CertificateWrapper certificate, eu.europa.esig.dss.diagnostic.RevocationWrapper revocationData, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilds an additional informationprotected eu.europa.esig.dss.detailedreport.jaxb.XmlBlockTypeReturns the validating block type (used for validation result of RAC, RFC, etc.)protected 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 StringReturns the additional information message in case if computed time 'notAfter' is after the certificate's notAfterprotected StringReturns the additional information message in case of no thisUpdate field definedprotected StringReturns the additional information message when certHash matchesprotected StringReturns the additional information message when the revocation is consistentprotected StringReturns the additional information message when the revocation is consistent with archiveCutoffprotected StringReturns the additional information message when the revocation is consistent with expiredCertsOnCRLprotected StringReturns the additional information message when the revocation is consistent with archiveCutoffprotected StringReturns the additional information message for revocation data in case of other eventsprotected StringReturns the additional information message when revocation's issue is not foundprotected StringReturns the additional information message when revocation has been produced at out of the signing certificate's validityprotected StringReturns the additional information message in case if thisUpdate is before certificate's notBeforeprotected booleanprocess()Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getLevel, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Field Details
-
certificate
protected final eu.europa.esig.dss.diagnostic.CertificateWrapper certificateThe certificate in question -
revocationData
protected final eu.europa.esig.dss.diagnostic.RevocationWrapper revocationDataRevocation data to check -
thisUpdate
ThisUpdate of the revocation -
producedAt
ProducedAt time of the revocation -
certNotBefore
Certificate's NotBefore -
certNotAfter
Certificate's NotAfter -
notAfterRevoc
Defines date after which the revocation issuer ensure the revocation is contained for the certificate -
certHashOK
protected boolean certHashOKDefines if certHash matches
-
-
Constructor Details
-
RevocationConsistentCheck
public RevocationConsistentCheck(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, eu.europa.esig.dss.diagnostic.CertificateWrapper certificate, eu.europa.esig.dss.diagnostic.RevocationWrapper revocationData, eu.europa.esig.dss.policy.jaxb.LevelConstraint constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult- the resultcertificate-CertificateWrapperrevocationData-RevocationWrapperconstraint-LevelConstraint
-
-
Method Details
-
getBlockType
protected eu.europa.esig.dss.detailedreport.jaxb.XmlBlockType getBlockType()Description copied from class:ChainItemReturns the validating block type (used for validation result of RAC, RFC, etc.)- Overrides:
getBlockTypein classChainItem<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>- Returns:
XmlBlockType
-
process
-
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
-
buildAdditionalInfo
-
getNoThisUpdateMessage
-
getThisUpdateBeforeCertificateNotBeforeMessage
-
getNotAfterAfterCertificateNotAfterMessage
-
getRevocationIssuerNotFoundMessage
-
getRevocationProducesAtOutOfBoundsMessage
-
getRevocationCertHashOkMessage
-
getRevocationConsistentMessage
-
getRevocationConsistentWithExpiredCertsOnCRLMessage
-
getRevocationConsistentWithArchiveCutoffMessage
-
getRevocationConsistentWithExpiredCertsRevocationInfoMessage
-
getRevocationInfoMessage
-