ITextSharp Bug? - Null reference when stamping certificate protected pdf
问题 I'm using ITextSharp's PdfStamper to fill in a pdf form. This works for unprotected and password protected Pdfs, but certificate protected PDFs cause a null reference exception when calling PdfStamper.Close() . Has anyone come across this before? Example failing program: using System.Security.Cryptography.X509Certificates; using iTextSharp.text; using iTextSharp.text.pdf; using System.IO; using Org.BouncyCastle.Crypto; using X509Certificate = Org.BouncyCastle.X509.X509Certificate; namespace