Class Encrypt

java.lang.Object
org.apache.pdfbox.tools.Encrypt
All Implemented Interfaces:
Callable<Integer>

public final class Encrypt extends Object implements Callable<Integer>
This will read a document from the filesystem, encrypt it and and then write the results to the filesystem.
  • Field Details

    • SYSERR

      private final PrintStream SYSERR
    • ownerPassword

      private String ownerPassword
    • userPassword

      private String userPassword
    • certFileList

      private List<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 File infile
    • outfile

      private File outfile
  • Constructor Details

    • Encrypt

      public Encrypt()
      Constructor.
  • Method Details

    • main

      public static void main(String[] args)
      This is the entry point for the application.
      Parameters:
      args - The command-line arguments.
    • call

      public Integer call()
      Specified by:
      call in interface Callable<Integer>