Class PDFEncryption

java.lang.Object
org.xhtmlrenderer.pdf.PDFEncryption

public class PDFEncryption extends Object
  • Field Details

    • _userPassword

      private final byte[] _userPassword
    • _ownerPassword

      private final byte[] _ownerPassword
    • _allowedPrivileges

      private final int _allowedPrivileges
    • _encryptionType

      private final int _encryptionType
  • Constructor Details

    • PDFEncryption

      public PDFEncryption(byte[] userPassword, byte[] ownerPassword)
    • PDFEncryption

      public PDFEncryption(byte[] userPassword, byte[] ownerPassword, int allowedPrivileges)
    • PDFEncryption

      public PDFEncryption(byte[] userPassword, byte[] ownerPassword, int allowedPrivileges, int encryptionType)
  • Method Details

    • getUserPassword

      public byte[] getUserPassword()
    • getOwnerPassword

      public byte[] getOwnerPassword()
    • getAllowedPrivileges

      public int getAllowedPrivileges()
    • getEncryptionType

      public int getEncryptionType()