It is impossible to make XAdES signature for XML(SpreadsheetML) file

Hi,

We have tried to make XAdES signature of XML (SpreadsheetML) file with Aspose.Cell functionality but with no success.

Steps to reproduce :

  • Sign attached XML file with XAdEs signatures
  • Resulted document is not signed – it almost does not have any changes in structure – there is no needed properties for signed document.

Actual result

XML document is not signed

Expected result

Signed XML document

Content :

  • input.xml - the original file
  • Program.cs – the example of the code for conversion
  • Cert .pfx – the certificate for signing
    content 1.zip (5.1 KB)

Please, note, we are using:

Aspose.Cell v. 21.6.0.0

Could you please advise us with the current behavior?

Best regards,

Alexander

@uaprogrammer,
We have observed this issue and logged an investigation ticket in our database for further investigation. You will be notified once any update is ready for sharing.

This issue is logged as:
CELLSNET-48168 - XAdES Signature support for XML files

@uaprogrammer,
If you manually open the source file “input.xml” into Microsoft Excel, try to add signature for it, Microsoft Excel will prompt you to resave to a format that support supports digital signatures See Screenshot_Excel.png (38.8 KB). In other words, SpreadsheetML is not supported to add digital signatures.