Class PasswordProtectParams

    • Method Detail

      • getUserPassword

        public String getUserPassword()
        Returns the intended user password of the resulting encrypted PDF file.
        Returns:
        the user password
      • getOwnerPassword

        public String getOwnerPassword()
        Returns the intended owner password of the resulting encrypted PDF file.
        Returns:
        the owner password
      • getEncryptionAlgorithm

        public EncryptionAlgorithm getEncryptionAlgorithm()
        Returns the intended EncryptionAlgorithm of the resulting encrypted PDF file.
        Returns:
        the encryption algorithm
      • getContentEncryption

        public ContentEncryption getContentEncryption()
        Returns the intended type of ContentEncryption for the resulting encrypted PDF file.
        Returns:
        the type of content to encrypt
      • getContentEncryptionAsString

        public String getContentEncryptionAsString()
        Returns the intended type of ContentEncryption for the resulting encrypted PDF file as a string.
        Returns:
        the type of content to encrypt as a string
      • getPermissions

        public Permissions getPermissions()
        Returns the intended document Permissions for the resulting encrypted PDF file.
        Returns:
        the document permissions