We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db74c42 commit 2df94feCopy full SHA for 2df94fe
src/main/java/com/itextpdf/rups/model/TreeNodeFactory.java
@@ -269,6 +269,9 @@ private static boolean expandSigContentsNode(PdfObjectTreeNode node) {
269
* themes, but it seems like a reasonable default to use.
270
*/
271
final PdfString nodeObject = (PdfString) node.getPdfObject();
272
+ // This is important, otherwise /Contents value in encrypted documents
273
+ // will be broken...
274
+ nodeObject.markAsUnencryptedObject();
275
final AbstractAsn1TreeNode asn1 = Asn1TreeNodeFactory.fromPrimitive(nodeObject.getValueBytes());
276
if (asn1 != null) {
277
/*
0 commit comments