Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends! How to generate digital signature in PDF and verify the certificate using private file(.pfx) and public file(.cer) authentication,I am tried too many ways but not clear explanation,if you know share me.
Hopefully SavadaMuthu Saravanan

What I have tried:

String pfxPath = @"..\Demo.pfx";
     PdfCertificate digi = new PdfCertificate(pfxPath, "e-iceblue");
     PdfSignature signature = new PdfSignature(doc, page, digi, "demo");
     signature.ContactInfo = "Harry";
     signature.Certificated = true;
     signature.DocumentPermissions = PdfCertificationFlags.AllowFormFill;
Posted
Updated 10-Nov-17 6:21am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900