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
Modifier and TypeFieldDescriptionprotected boolean
Defines if certHash matchesprotected final CertificateWrapper
The certificate in questionprotected Date
Certificate's NotAfterprotected Date
Certificate's NotBeforeprotected Date
Defines date after which the revocation issuer ensure the revocation is contained for the certificateprotected Date
ProducedAt time of the revocationprotected final RevocationWrapper
Revocation data to checkprotected Date
ThisUpdate of the revocationFields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ConstructorDescriptionRevocationConsistentCheck
(I18nProvider i18nProvider, T result, CertificateWrapper certificate, RevocationWrapper revocationData, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Builds an additional informationprotected XmlBlockType
Returns the validating block type (used for validation result of RAC, RFC, etc.)protected 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 String
Returns the additional information message in case if computed time 'notAfter' is after the certificate's notAfterprotected String
Returns the additional information message in case of no thisUpdate field definedprotected String
Returns the additional information message when certHash matchesprotected String
Returns the additional information message when the revocation is consistentprotected String
Returns the additional information message when the revocation is consistent with archiveCutoffprotected String
Returns the additional information message when the revocation is consistent with expiredCertsOnCRLprotected String
Returns the additional information message when the revocation is consistent with archiveCutoffprotected String
Returns the additional information message for revocation data in case of other eventsprotected String
Returns the additional information message when revocation's issue is not foundprotected String
Returns the additional information message when revocation has been produced at out of the signing certificate's validityprotected String
Returns the additional information message in case if thisUpdate is before certificate's notBeforeprotected boolean
process()
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
-I18nProvider
result
- the resultcertificate
-CertificateWrapper
revocationData
-RevocationWrapper
constraint
-LevelConstraint
-
-
Method Details
-
getBlockType
Description copied from class:ChainItem
Returns the validating block type (used for validation result of RAC, RFC, etc.)- Overrides:
getBlockType
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
XmlBlockType
-
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
-
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
-
buildAdditionalInfo
Description copied from class:ChainItem
Builds an additional information- Overrides:
buildAdditionalInfo
in classChainItem<T extends XmlConstraintsConclusion>
- Returns:
String
-
getNoThisUpdateMessage
-
getThisUpdateBeforeCertificateNotBeforeMessage
-
getNotAfterAfterCertificateNotAfterMessage
-
getRevocationIssuerNotFoundMessage
-
getRevocationProducesAtOutOfBoundsMessage
-
getRevocationCertHashOkMessage
-
getRevocationConsistentMessage
-
getRevocationConsistentWithExpiredCertsOnCRLMessage
-
getRevocationConsistentWithArchiveCutoffMessage
-
getRevocationConsistentWithExpiredCertsRevocationInfoMessage
-
getRevocationInfoMessage
-