pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1852238 - /pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
Date Sat, 26 Jan 2019 18:22:33 GMT
Author: tilman
Date: Sat Jan 26 18:22:33 2019
New Revision: 1852238

URL: http://svn.apache.org/viewvc?rev=1852238&view=rev
Log:
PDFBOX-3017: improve usage, add comment to clarify (See 4th comment in SO question 54359803)

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

Modified: pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java?rev=1852238&r1=1852237&r2=1852238&view=diff
==============================================================================
--- pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
(original)
+++ pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/ShowSignature.java
Sat Jan 26 18:22:33 2019
@@ -572,6 +572,8 @@ public final class ShowSignature
     private static void usage()
     {
         System.err.println( "usage: java " + ShowSignature.class.getName() +
-                            "<password> <inputfile>" );
+                            " <password (usually empty)> <inputfile>" );
+        // The password is for encrypted files and has nothing to do with the signature.
+        // (A PDF can be both encrypted and signed)
     }
 }



Mime
View raw message