Package org.apache.pdfbox.tools
Class Encrypt
java.lang.Object
org.apache.pdfbox.tools.Encrypt
This will read a document from the filesystem, encrypt it and and then write
the results to the filesystem.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Encrypt
private Encrypt()
-
-
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.CertificateException
- If there is an error with a certificate.
-
encrypt
- Throws:
IOException
CertificateException
-
usage
private static void usage()This will print a usage message.
-