Class 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 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
    • Constructor Detail

      • Encrypt

        public Encrypt()
        Constructor.
    • Method Detail

      • main

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

        public java.lang.Integer call()
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Integer>