Class RevocationConsistentCheck<T extends 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
Checks if the revocation is consistent and can be used for the given certificate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDefines if certHash matchesprotected final 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 RevocationWrapperRevocation data to checkprotected DateThisUpdate of the revocationFields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsConstructorDescriptionRevocationConsistentCheck(I18nProvider i18nProvider, T result, CertificateWrapper certificate, RevocationWrapper revocationData, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilds an additional informationprotected XmlBlockTypeReturns the validating block type (used for validation result of RAC, RFC, etc.)protected MessageTagReturns an i18n key String of an error message to getprotected IndicationGets an Indication in case of failureprotected SubIndicationGets a SubIndication in case of failureprotected 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
The certificate in question -
revocationData
Revocation 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(I18nProvider i18nProvider, T result, CertificateWrapper certificate, RevocationWrapper revocationData, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult- the resultcertificate-CertificateWrapperrevocationData-RevocationWrapperconstraint-LevelConstraint
-
-
Method Details
-
getBlockType
Description copied from class:ChainItemReturns the validating block type (used for validation result of RAC, RFC, etc.)- Overrides:
getBlockTypein classChainItem<T extends XmlConstraintsConclusion>- Returns:
XmlBlockType
-
process
protected boolean process()Description copied from class:ChainItemPerforms the check- Specified by:
processin classChainItem<T extends XmlConstraintsConclusion>- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
getMessageTag
Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<T extends XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getErrorMessageTag
Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<T extends XmlConstraintsConclusion>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<T extends XmlConstraintsConclusion>- Returns:
SubIndication
-
buildAdditionalInfo
Description copied from class:ChainItemBuilds an additional information- Overrides:
buildAdditionalInfoin classChainItem<T extends XmlConstraintsConclusion>- Returns:
String
-
getNoThisUpdateMessage
-
getThisUpdateBeforeCertificateNotBeforeMessage
-
getNotAfterAfterCertificateNotAfterMessage
-
getRevocationIssuerNotFoundMessage
-
getRevocationProducesAtOutOfBoundsMessage
-
getRevocationCertHashOkMessage
-
getRevocationConsistentMessage
-
getRevocationConsistentWithExpiredCertsOnCRLMessage
-
getRevocationConsistentWithArchiveCutoffMessage
-
getRevocationConsistentWithExpiredCertsRevocationInfoMessage
-
getRevocationInfoMessage
-