Digital Signature in PowerPoint
Digital certificate is used to create a password protected powerpoint presentation, marked as created by a particular organization or person. Digital certificate can be obtained by contacting an authorized organization - a certificate authority. After installing digital certificate into the system, it can be used to add a digital signature to the presentation via File -> Info -> Protect Presentation:
Presentation may contain more than one digital signatures. After the digital signature is added to the presentation, a special message will appear in the PowerPoint:
To sign presentation or check the authenticity of presentation signatures, Aspose.Slides API provides IDigitalSignature interface, IDigitalSignatureCollection interface and IPresentation.DigitalSignatures property. Currently, digital signatures are supported for PPTX format only.
Add Digital Signature from PFX Certificate
The code sample below demonstrates how to add digital signature from a PFX certificate:
- Open PFX file and pass PFX password to DigitalSignature object.
- Add created signature to the presentation object.
Now its possible to check if the presentation was digitally signed and has not been modified: