I am using the Digital Signature for the pdf and displaying the Signature in the pdf but I am unable to display the Digitally signed by, Reason and Location in the signature image generated after certified. I am using .Net frame work. Below is my sample code.
PKCS7 pkcs = new PKCS7(pfxFile, “xxxxxxxxx”);
DocMDPSignature docMdpSignature = new DocMDPSignature(pkcs, DocMDPAccessPermissions.FillingInForms);
System.Drawing.Rectangle rect = new System.Drawing.Rectangle(200, 250, 200, 100);
signature.SignatureAppearance = dataDir + @“signature.png”;
//signature.Certify(1, “Signature Reason”, “1234567890”, “Bengaluru”, true, rect, docMdpSignature);
signature.Sign(1, “Signature from abcd”, “Signature Reason”, “1234567890”, “Bengaluru”, true, rect, new PKCS1(pfxFile, “xxxxxxxxx”));
// Save output PDF file
signature.Save(outFile);
Thanks in advance