Package org.apache.pdfbox.tools
Class Decrypt
java.lang.Object
org.apache.pdfbox.tools.Decrypt
This will read a document from the filesystem, decrypt it and and then write
the result to the filesystem.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ALIAS
- See Also:
-
PASSWORD
- See Also:
-
KEYSTORE
- See Also:
-
password
-
infile
-
outfile
-
alias
-
keyStore
-
-
Constructor Details
-
Decrypt
private Decrypt()
-
-
Method Details
-
main
This is the entry point for the application.- Parameters:
args
- The command-line arguments.- Throws:
IOException
- If there is an error decrypting the document.
-
parseCommandLineArgs
-
decrypt
- Throws:
IOException
-
usage
private static void usage()This will print a usage message.
-