public PdfSignature(PdfDictionary sigDictionary) { super(sigDictionary); PdfString contents = getPdfObject().getAsString(PdfName.Contents); if (contents != null) { contents.markAsUnencryptedObject(); } }
public PdfSignature(PdfDictionary sigDictionary) { super(sigDictionary); PdfString contents = getPdfObject().getAsString(PdfName.Contents); if (contents != null) { contents.markAsUnencryptedObject(); } }
/** * Sets the /Contents value to the specified byte[]. * * @param contents a byte[] representing the digest */ public void setContents(byte[] contents) { PdfString contentsString = new PdfString(contents).setHexWriting(true); contentsString.markAsUnencryptedObject(); put(PdfName.Contents, contentsString); }
/** * Sets the /Contents value to the specified byte[]. * * @param contents a byte[] representing the digest */ public void setContents(byte[] contents) { PdfString contentsString = new PdfString(contents).setHexWriting(true); contentsString.markAsUnencryptedObject(); put(PdfName.Contents, contentsString); }
continue; } else { contents.markAsUnencryptedObject();
continue; } else { contents.markAsUnencryptedObject();