Class PastSignatureValidationCertificateRevocationSelector
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.psv.PastSignatureValidationCertificateRevocationSelector
public class PastSignatureValidationCertificateRevocationSelector
extends LongTermValidationCertificateRevocationSelector
Filters revocation data on a "Past Signature Validation" 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
ConstructorDescriptionPastSignatureValidationCertificateRevocationSelector
(I18nProvider i18nProvider, CertificateWrapper certificate, 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 a list of acceptable certificate revocation data in the past validation processThis method returns the latest acceptable certificate revocation data NOTE: methodexecute()
shall be called beforeprotected XmlConclusion
getRevocationBBBConclusion
(CertificateRevocationWrapper revocationWrapper) Returns a conclusion of the revocation basic building block execution processprotected 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
Methods inherited from class eu.europa.esig.dss.validation.process.bbb.xcv.crs.CertificateRevocationSelector
collectAdditionalMessages, getCertificateRevocationData, initChain
Methods inherited from class eu.europa.esig.dss.validation.process.Chain
addAdditionalInfo, buildChainTitle, collectAllMessages, execute, getFailLevelConstraint, getInfoLevelConstraint, getWarnLevelConstraint, isValid, isValidConclusion
-
Constructor Details
-
PastSignatureValidationCertificateRevocationSelector
public PastSignatureValidationCertificateRevocationSelector(I18nProvider i18nProvider, CertificateWrapper certificate, Date currentTime, Map<String, XmlBasicBuildingBlocks> bbbs, String tokenId, POEExtraction poe, ValidationPolicy validationPolicy) Default constructor- Parameters:
i18nProvider
-I18nProvider
certificate
-CertificateWrapper
currentTime
-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
-
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
-
getRevocationBBBConclusion
Description copied from class:LongTermValidationCertificateRevocationSelector
Returns a conclusion of the revocation basic building block execution process- Overrides:
getRevocationBBBConclusion
in classLongTermValidationCertificateRevocationSelector
- Parameters:
revocationWrapper
-CertificateRevocationWrapper
- Returns:
XmlConclusion
-
acceptableRevocationDataAvailable
Description copied from class:CertificateRevocationSelector
Checks whether the acceptable revocation data is available- Overrides:
acceptableRevocationDataAvailable
in classLongTermValidationCertificateRevocationSelector
- Returns:
ChainItem
-
getLatestAcceptableCertificateRevocation
Description copied from class:CertificateRevocationSelector
This method returns the latest acceptable certificate revocation data NOTE: methodexecute()
shall be called before- Overrides:
getLatestAcceptableCertificateRevocation
in classCertificateRevocationSelector
- Returns:
CertificateRevocationWrapper
-
getAcceptableCertificateRevocations
Returns a list of acceptable certificate revocation data in the past validation process- Returns:
- a list of
CertificateRevocationWrapper
s
-