diff options
-rw-r--r-- | fop-core/src/main/java/org/apache/fop/pdf/PDFSignature.java | 1 | ||||
-rw-r--r-- | fop-core/src/test/java/org/apache/fop/pdf/PDFSigningTestCase.java | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/fop-core/src/main/java/org/apache/fop/pdf/PDFSignature.java b/fop-core/src/main/java/org/apache/fop/pdf/PDFSignature.java index 199d5a9be..5bdf5ebdf 100644 --- a/fop-core/src/main/java/org/apache/fop/pdf/PDFSignature.java +++ b/fop-core/src/main/java/org/apache/fop/pdf/PDFSignature.java @@ -141,6 +141,7 @@ public class PDFSignature { put("Subtype", new PDFName("Widget")); put("F", 132); put("T", "Signature1"); + put("TU", "Signature1"); put("Rect", new PDFRectangle(0, 0, 0, 0)); put("V", perms.docMDP); put("P", new PDFReference(page)); diff --git a/fop-core/src/test/java/org/apache/fop/pdf/PDFSigningTestCase.java b/fop-core/src/test/java/org/apache/fop/pdf/PDFSigningTestCase.java index 993487ed6..fbd11cf79 100644 --- a/fop-core/src/test/java/org/apache/fop/pdf/PDFSigningTestCase.java +++ b/fop-core/src/test/java/org/apache/fop/pdf/PDFSigningTestCase.java @@ -67,6 +67,7 @@ public class PDFSigningTestCase { + " /Subtype /Widget\n" + " /F 132\n" + " /T (Signature1)\n" + + " /TU (Signature1)\n" + " /Rect [0 0 0 0]")); } |