![]() First you need create a SignatureField with unique name X509Certificate2 certificate = new X509Certificate2( "test.pfx", "iditect") PdfDocument document = pdfFile.Import(File.ReadAllBytes( "sample.pdf")) You can add normal infomation like "Reason", "Location", "Date", or insert specifical content as what you want. Here comes to the C# code of how to create visible text digital signature as below. How to Create Visible Text Digital Signature in PDF in C# language And this electronic signature can be inserting in target page and target area in PDF. The appearance of signature field can be chosen from three types: only showing text, only showing image, showing text and image. In order to sign a PDF file you will need a digital ertificate issued by a valid Certificate Authority(CA), which provide you a PKCS#12 certificate (PFX or P12 file) for signing PDF document in Winforms, WPF and ASP.NET web applications. Digital signature contains encrypted information and password protected.
0 Comments
Leave a Reply. |