Package org.apache.pdfbox.tools
Class Encrypt
- java.lang.Object
-
- org.apache.pdfbox.tools.Encrypt
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Integer>
public final class Encrypt extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Integer>This will read a document from the filesystem, encrypt it and and then write the results to the filesystem.
-
-
Field Summary
Fields Modifier and Type Field Description private booleancanAssembleDocumentprivate booleancanExtractContentprivate booleancanExtractForAccessibilityprivate booleancanFillInFormprivate booleancanModifyprivate booleancanModifyAnnotationsprivate booleancanPrintprivate booleancanPrintFaithfulprivate java.util.List<java.io.File>certFileListprivate java.io.Fileinfileprivate intkeyLengthprivate java.io.Fileoutfileprivate java.lang.StringownerPasswordprivate java.io.PrintStreamSYSERRprivate java.lang.StringuserPassword
-
Constructor Summary
Constructors Constructor Description Encrypt()Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integercall()static voidmain(java.lang.String[] args)This is the entry point for the application.
-
-
-
Field Detail
-
SYSERR
private final java.io.PrintStream SYSERR
-
ownerPassword
private java.lang.String ownerPassword
-
userPassword
private java.lang.String userPassword
-
certFileList
private java.util.List<java.io.File> certFileList
-
canAssembleDocument
private boolean canAssembleDocument
-
canExtractContent
private boolean canExtractContent
-
canExtractForAccessibility
private boolean canExtractForAccessibility
-
canFillInForm
private boolean canFillInForm
-
canModify
private boolean canModify
-
canModifyAnnotations
private boolean canModifyAnnotations
-
canPrint
private boolean canPrint
-
canPrintFaithful
private boolean canPrintFaithful
-
keyLength
private int keyLength
-
infile
private java.io.File infile
-
outfile
private java.io.File outfile
-
-