Code development platform for open source projects from the European Union institutions 🔵 EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content

DSS-2609: Allow signature with external CMS provider

Created by: vgalloy

Motivation: We want to perform PAdES signature with an external CMS provider. The current signing operation re computed the signedAttribute which cause the signature being invalid. The ability to use the PAdESService is already supported in the DSS but the method are mainly package protect. The goal here is just to turn the right method to public

Modification:

  • PAdESService#computeDocumentDigest is now public
  • PAdESService#signDocument is now based on PAdESService#signDocumentWithCms
  • PAdESService#generateCMSSignedData is now public
  • Simplify test with the methods

Merge request reports

Loading