PDF Digital Signature

A PDF digital signature enables you to authenticate a PDF file to establish that the sender of the file is who they say they are and the content of the PDF file has not been tampered with.

The following example shows how to create a digitally signed PDF file.

To view and verify the signature in Acrobat Reader, go to the menu button 'View', then expand 'Show/Hide' and 'Navigation Panes', and click 'Signatures'.

PDF Digital Signature Screenshot
Upload your file (Drag file here)
using GemBox.Spreadsheet;

class Program
    static void Main(string[] args)
        // If using Professional version, put your serial key below.

        ExcelFile ef = ExcelFile.Load("%InputFileName%");

        var options = new PdfSaveOptions()
            DigitalSignature =
                CertificatePath = "%#GemBoxExampleExplorer.pfx%",
                CertificatePassword = "GemBoxPassword"

        ef.Save("PDF Digital Signature.pdf", options);
Imports GemBox.Spreadsheet

Module Program

    Sub Main()

        ' If using Professional version, put your serial key below.

        Dim ef As ExcelFile = ExcelFile.Load("%InputFileName%")

        Dim options = New PdfSaveOptions()
        Dim digitalSignature = options.DigitalSignature

        digitalSignature.CertificatePath = "%#GemBoxExampleExplorer.pfx%"
        digitalSignature.CertificatePassword = "GemBoxPassword"

        ef.Save("PDF Digital Signature.pdf", options)

    End Sub

End Module

Check next example or download examples from GitHub.