Class ValidationTimeSlidingCertificateRevocationSelector
java.lang.Object
eu.europa.esig.dss.validation.process.Chain<XmlCRS>
eu.europa.esig.dss.validation.process.bbb.xcv.crs.CertificateRevocationSelector
eu.europa.esig.dss.validation.process.vpfltvd.LongTermValidationCertificateRevocationSelector
eu.europa.esig.dss.validation.process.vpfswatsp.checks.vts.ValidationTimeSlidingCertificateRevocationSelector
public class ValidationTimeSlidingCertificateRevocationSelector
extends LongTermValidationCertificateRevocationSelector
Filters revocation data on a "Validation Time Sliding" process
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.vpfltvd.LongTermValidationCertificateRevocationSelector
bbbs, tokenId
Fields inherited from class eu.europa.esig.dss.validation.process.bbb.xcv.crs.CertificateRevocationSelector
certificate, currentTime, revocationDataValidityMap
Fields inherited from class eu.europa.esig.dss.validation.process.Chain
firstItem, i18nProvider, result
-
Constructor Summary
ConstructorDescriptionValidationTimeSlidingCertificateRevocationSelector
(I18nProvider i18nProvider, CertificateWrapper certificate, List<CertificateRevocationWrapper> certificateRevocationData, Date currentTime, Map<String, XmlBasicBuildingBlocks> bbbs, String tokenId, POEExtraction poe, ValidationPolicy validationPolicy) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionChecks whether the acceptable revocation data is availableReturns available certificate revocation data to be validatedprotected MessageTag
getTitle()
Returns title of a Chain (i.e.verifyRevocationData
(ChainItem<XmlCRS> item, CertificateRevocationWrapper revocationWrapper) Verifies the given revocation data and returns the resultingChainItem
Methods inherited from class eu.europa.esig.dss.validation.process.vpfltvd.LongTermValidationCertificateRevocationSelector
collectMessages, getRevocationAcceptanceValidationResult, getRevocationBBBConclusion
Methods inherited from class eu.europa.esig.dss.validation.process.bbb.xcv.crs.CertificateRevocationSelector
collectAdditionalMessages, getLatestAcceptableCertificateRevocation, initChain
Methods inherited from class eu.europa.esig.dss.validation.process.Chain
addAdditionalInfo, buildChainTitle, collectAllMessages, execute, getFailLevelConstraint, getInfoLevelConstraint, getWarnLevelConstraint, isValid, isValidConclusion
-
Constructor Details
-
ValidationTimeSlidingCertificateRevocationSelector
public ValidationTimeSlidingCertificateRevocationSelector(I18nProvider i18nProvider, CertificateWrapper certificate, List<CertificateRevocationWrapper> certificateRevocationData, Date currentTime, Map<String, XmlBasicBuildingBlocks> bbbs, String tokenId, POEExtraction poe, ValidationPolicy validationPolicy) Default constructor- Parameters:
i18nProvider
-I18nProvider
certificate
-CertificateWrapper
certificateRevocationData
- a list ofCertificateRevocationWrapper
scurrentTime
-Date
validation timebbbs
- a map ofXmlBasicBuildingBlocks
tokenId
-String
current token id being validatedpoe
-POEExtraction
validationPolicy
-ValidationPolicy
-
-
Method Details
-
getTitle
Description copied from class:Chain
Returns title of a Chain (i.e. BasicBuildingBlock title)- Overrides:
getTitle
in classCertificateRevocationSelector
- Returns:
MessageTag
-
getCertificateRevocationData
Description copied from class:CertificateRevocationSelector
Returns available certificate revocation data to be validated- Overrides:
getCertificateRevocationData
in classCertificateRevocationSelector
- Returns:
- a list of
CertificateRevocationWrapper
s
-
verifyRevocationData
protected ChainItem<XmlCRS> verifyRevocationData(ChainItem<XmlCRS> item, CertificateRevocationWrapper revocationWrapper) Description copied from class:CertificateRevocationSelector
Verifies the given revocation data and returns the resultingChainItem
- Overrides:
verifyRevocationData
in classLongTermValidationCertificateRevocationSelector
- Parameters:
item
-ChainItem
the last initialized chain item to be processed in prior to the revocation validationrevocationWrapper
-to be verified
- Returns:
ChainItem
-
acceptableRevocationDataAvailable
Description copied from class:CertificateRevocationSelector
Checks whether the acceptable revocation data is available- Overrides:
acceptableRevocationDataAvailable
in classLongTermValidationCertificateRevocationSelector
- Returns:
ChainItem
-