Digitally signing a PDF document without using a third-party component does a lot of work and is usually best avoided.
The components do all the hard work for you, so you don't need to. You must find great free PDF components that will suit your needs.
The following example, written in C #, shows how easy it is to digitally sign a PDF using ABCpdf:
Doc theDoc = new Doc(); theDoc.Read(Server.MapPath("../Rez/Authorization.pdf")); Signature theSig = (Signature)theDoc.Form["Signature"]; theSig.Location = "Washington"; theSig.Reason = "Schedule Agreed"; theSig.Sign(Server.MapPath("../Rez/JohnSmith.pfx"), "111111"); theDoc.Save(Server.MapPath("Signed.pdf"));
Source: ABCpdf Documentation - Sign Method
AffineMesh May 6 '10 at 5:33 a.m. 2010-05-06 05:33
source share