Applying Digital Signatures in IronPDF
A digital signature is a cryptographic method that can be added to existing PDF documents using IronPDF library. This includes adding single and multiple signatures with incremental savings signatures.
Supported digital signature certificate
IronPDF supports digital signature certificates in the .pfx
format for Windows and .p12
format for MacOS, compliant with the X509Certificate2
standard. You can verify the format of your existing digital signature certificate by checking its file extension.
If you do not have a certificate in the required format, refer to this documentation to create a new X509Certificate2
standard certificate. The resulting certificate can then be used and applied to a PDF document via IronPDF.
Please note
Signature with image
An image can be added to the PDF document to visually indicate that the document has been digitally signed. This can be achieved using IronPDF with the following code snippet:
var sig = new PdfSignature("IronSoftware.pfx", "123456");
sig.SignatureImage = new PdfSignatureImage("IronSoftware.png", 0, new Rectangle(0, 600, 100, 100));
var sig = new PdfSignature("IronSoftware.pfx", "123456");
sig.SignatureImage = new PdfSignatureImage("IronSoftware.png", 0, new Rectangle(0, 600, 100, 100));
IRON VB CONVERTER ERROR developers@ironsoftware.com
Ensure that the image file property is set to "CopyToOutputDirectory=always" in the project so that the image can be found and rendered in the PDF document once the signature has been applied.
To learn more about applying digital signatures via IronPDF, check out Digitally Sign a PDF Document.
For engineering support, please see How to Make an Engineering Support Request for IronPDF.