Module jpms_dss_validation
Class DigestMatcherListCryptographicChainBuilder<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
java.lang.Object
eu.europa.esig.dss.validation.process.bbb.sav.cc.DigestMatcherListCryptographicChainBuilder<T>
- Type Parameters:
T-XmlConstraintsConclusion
public class DigestMatcherListCryptographicChainBuilder<T extends eu.europa.esig.dss.detailedreport.jaxb.XmlConstraintsConclusion>
extends Object
This class extracts used Digest Algorithms across all provides digest matchers and
performs validation for the used algorithms
-
Constructor Summary
ConstructorsConstructorDescriptionDigestMatcherListCryptographicChainBuilder(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, List<eu.europa.esig.dss.diagnostic.jaxb.XmlDigestMatcher> digestMatchers, Date validationTime, eu.europa.esig.dss.policy.jaxb.CryptographicConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionExecutes validation of against all used DigestAlgorithms and builds the validation chain continuing the providedchainItemeu.europa.esig.dss.detailedreport.jaxb.XmlCCReturns a failed XmlCC result, when applicableReturns a failed list of XmlDigestMatcher's, when applicable
-
Constructor Details
-
DigestMatcherListCryptographicChainBuilder
public DigestMatcherListCryptographicChainBuilder(eu.europa.esig.dss.i18n.I18nProvider i18nProvider, T result, List<eu.europa.esig.dss.diagnostic.jaxb.XmlDigestMatcher> digestMatchers, Date validationTime, eu.europa.esig.dss.policy.jaxb.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
public eu.europa.esig.dss.detailedreport.jaxb.XmlCC getConcernedCC()Returns a failed XmlCC result, when applicable- Returns:
XmlCCwhen validation of digest matchers fails, NULL otherwise
-
getConcernedMaterial
-