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
ConstructorsConstructorDescriptionDigestMatcherListCryptographicChainBuilder(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 providedchainItemReturns 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-XmlConstraintsConclusiondigestMatchers- a list ofXmlDigestMatchers to be validatedvalidationTime-Datethe 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
XmlCCs containing validation results
-
getConcernedCC
-
getConcernedMaterial
Returns a failed list of XmlDigestMatcher's, when applicable- Returns:
- a list of
XmlDigestMatchers when validation fails, NULL otherwise
-