Class EncryptPdf


  • public class EncryptPdf
    extends java.lang.Object
    Encrypts a PDF document. It needs iText (http://www.lowagie.com/iText).
    Since:
    2.1.1 (renamed to follow Java naming conventions)
    • Constructor Summary

      Constructors 
      Constructor Description
      EncryptPdf()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Encrypts a PDF document.
      private static void usage()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EncryptPdf

        public EncryptPdf()
    • Method Detail

      • usage

        private static void usage()
      • main

        public static void main​(java.lang.String[] args)
        Encrypts a PDF document.
        Parameters:
        args - input_file output_file user_password owner_password permissions 128|40 [new info string pairs]