Multiple Digital Signatures

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v5)  /  Multiple Digital Signatures

DynamicPDF CoreSuite for .NET (v5) Forum

 Aug 26 2020 11:07 AM
Hello There
    Is it possible to digitally sign( with  digital certificate) multiple times a pdf document using dynamic pdf?
ie   Customer A will sign and send a pdf to Customer B. Customer B will sign and send it for filing.( Or to C and so on).
Is this scenario possible to do with DynamicPDF?

Thanks
 Aug 26 2020 7:30 PM
Posted by a ceTe Software moderator
Hello,

Yes, signing multiple digital signatures on an existing PDF is a feature that is under development and this will be included in version 11 of DynamicPDF Core Suite for .NET.   We are planning to release the production version of v11 in about one month. If you would like BETA test that feature before the release, please send an email to support@dynamicpdf.com.

We will post an update once the version including this feature is released.

Thanks,
ceTe Software Support Team
 Aug 31 2021 9:21 AM
Hi,

Is this functionallity added? If it is do you have an example, showing how it's done. I have looked in the documentation but can't find anything about this.
 Aug 31 2021 11:06 AM
Posted by a ceTe Software moderator
Hello,

Yes, signing multiple digital signatures is included in v11 of DynamicPDF Core Suite for .NET. You will need to load the PDF into a PdfDocument and use the IncrementalUpdateDocument class to sign the document. Please note that you can sign one digital signature in a PDF at time and if you would like to sign multiple signatures you will need to load the singed PDF into another PdfDocument and sign it again using the IncrementalUpdateDocument class.

Here is a code sample for singing a PDF with two signature fields.

           //Adding signature to the existing PDF.
            PdfDocument pdf = new PdfDocument(@"Path for an input PDF");
            //Signing existing signature using IncrementalUpdateDocument object.
            ceTe.DynamicPDF.Merger.IncrementalUpdateDocument incdocument = new IncrementalUpdateDocument(pdf);
            Certificate certificate = new Certificate(@"Path for certificate file", "password");
            incdocument.Sign("signature field name", certificate);
            byte[] byteData=incdocument.Draw();

            //Signing another signature field.
            PdfDocument pdf1 = new PdfDocument(byteData);
            ceTe.DynamicPDF.Merger.IncrementalUpdateDocument incdocument1 = new IncrementalUpdateDocument(pdf1);
            Certificate certificate1 = new Certificate(@"Certificate file path", "password");
            incdocument1.Sign("signature field name", certificate1);

            incdocument1.Draw(@"Path to save the document");

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 1:05 PM.