Package org.apache.pdfbox.tools
Class Encrypt
- java.lang.Object
-
- org.apache.pdfbox.tools.Encrypt
-
public final class Encrypt extends java.lang.Object
This will read a document from the filesystem, encrypt it and and then write the results to the filesystem.- Author:
- Ben Litchfield
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
This is the entry point for the application.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException, java.security.cert.CertificateException
This is the entry point for the application.- Parameters:
args
- The command-line arguments.- Throws:
java.io.IOException
- If there is an error decrypting the document.java.security.cert.CertificateException
- If there is an error with a certificate.
-
-