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

Skip to content

DSS-2609: Allow signature with external CMS provider

Pierrick VANDENBROUCKE requested to merge github/fork/vgalloy/DSS-2609 into develop

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