pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1820788 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
Date Wed, 10 Jan 2018 20:37:36 GMT
Author: tilman
Date: Wed Jan 10 20:37:35 2018
New Revision: 1820788

URL: http://svn.apache.org/viewvc?rev=1820788&view=rev
Log:
PDFBOX-3017: put link to comment by mkl on allowed and not allowed changes in signed files

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java?rev=1820788&r1=1820787&r2=1820788&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
Wed Jan 10 20:37:35 2018
@@ -136,6 +136,8 @@ public final class ShowSignature
                         if (fileLen != rangeMax || byteRange[0] != 0 || byteRange[1] + contentLen
!= byteRange[2])
                         {
                             // a false result doesn't necessarily mean that the PDF is a
fake
+                            // see this answer why:
+                            // https://stackoverflow.com/a/48185913/535646
                             System.out.println("Signature does not cover whole document");
                         }
                         else



Mime
View raw message