问题 I upgraded from iText 5.2.1 to iText 5.5.5 I was using PdfStamper along with PdfSignatureApperance to apply digital signatures. Here is my snippet of code. PdfStamper stamper = PdfStamper.createSignature(reader, byteArrayOutputStream,'\0'); PdfSignatureAppearance appearance = stamper.getSignatureAppearance(); appearance.setCrypto(key, chain, null, PdfSignatureAppearance.WINCER_SIGNED); From the above code, there are couple of things which are not present in the current version. 1) In version