Class DigestMatcherListCryptographicChainBuilder<T extends XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.bbb.sav.cc.DigestMatcherListCryptographicChainBuilder<T>
- Type Parameters:
T
-XmlConstraintsConclusion
public class DigestMatcherListCryptographicChainBuilder<T extends XmlConstraintsConclusion>
extends Object
This class extracts used Digest Algorithms across all provides digest matchers and
performs validation for the used algorithms
-
Constructor Summary
ConstructorDescriptionDigestMatcherListCryptographicChainBuilder
(I18nProvider i18nProvider, T result, List<XmlDigestMatcher> digestMatchers, Date validationTime, CryptographicConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionExecutes validation of against all used DigestAlgorithms and builds the validation chain continuing the providedchainItem
Returns a failed XmlCC result, when applicableReturns a failed list of XmlDigestMatcher's, when applicable
-
Constructor Details
-
DigestMatcherListCryptographicChainBuilder
public DigestMatcherListCryptographicChainBuilder(I18nProvider i18nProvider, T result, List<XmlDigestMatcher> digestMatchers, Date validationTime, CryptographicConstraint constraint) Default constructor- Parameters:
i18nProvider
- the access to translationsresult
-XmlConstraintsConclusion
digestMatchers
- a list ofXmlDigestMatcher
s to be validatedvalidationTime
-Date
the validation timeconstraint
-CryptographicConstraint
-
-
Method Details
-
build
Executes validation of against all used DigestAlgorithms and builds the validation chain continuing the providedchainItem
- Parameters:
chainItem
- returned by the validation process, to be continued with digest matcher checks- Returns:
- a list of
XmlCC
s containing validation results
-
getConcernedCC
-
getConcernedMaterial
Returns a failed list of XmlDigestMatcher's, when applicable- Returns:
- a list of
XmlDigestMatcher
s when validation fails, NULL otherwise
-