Code development platform for open source projects from the European Union institutions

Skip to content

Proposal for DSS-760 - added possibility to define multiple Cryptographic elements with different level attributes in policy file

Pierrick VANDENBROUCKE requested to merge github/fork/nostneji/5.1.x into 5.1.x

Created by: nostneji

In https://esig-dss.atlassian.net/browse/DSS-760 the problem is described - there are situations where not only error messages are needed, but the warnings too.

In order to achieve this kind of functionality, the XML-schema dss-policy-jaxb/src/main/resources/xsd/policy.xsd has been changed so that there is possible to define multiple Cryptographic elements with different level attributes. Source files in package eu.europa.esig.jaxb.policy are regenerated. Several files in module validation-policy are changed accordingly. Appropriate unit tests are added.

Also there are some changes in classes ChainItem and CryptographicCheck in order to add algoritm name to error/warning messages.

Merge request reports