Add Digital Signature to an already signed Excel file

Possible Usage Scenarios

Aspose.Cells provides the Workbook.AddDigitalSignature(DigitalSignatureCollection digitalSignatureCollection) method that you can use to add digital signature to an already signed Excel file.

Add Digital Signature to an already signed Excel file

The following sample code demonstrated how to make use of Workbook.AddDigitalSignature(DigitalSignatureCollection digitalSignatureCollection) method to add digital signature to already signed Excel file. Please check the sample Excel file used in this code. This file is already digitally signed. Please check the output Excel file generated by the code. We have used the demo certificate named AsposeDemo.pfx in this code which has a password aspose. The screenshot shows the effect of the sample code on the sample Excel file after execution.

todo:image_alt_text

Sample Code