Package org.xhtmlrenderer.pdf
Class PDFEncryption
- java.lang.Object
-
- org.xhtmlrenderer.pdf.PDFEncryption
-
public class PDFEncryption extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PDFEncryption()
PDFEncryption(byte[] userPassword, byte[] ownerPassword)
PDFEncryption(byte[] userPassword, byte[] ownerPassword, int allowedPrivileges)
PDFEncryption(byte[] userPassword, byte[] ownerPassword, int allowedPrivileges, int encryptionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAllowedPrivileges()
int
getEncryptionType()
byte[]
getOwnerPassword()
byte[]
getUserPassword()
void
setAllowedPrivileges(int allowedPrivileges)
void
setEncryptionType(int encryptionType)
void
setOwnerPassword(byte[] ownerPassword)
void
setUserPassword(byte[] userPassword)
-
-
-
Constructor Detail
-
PDFEncryption
public PDFEncryption()
-
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 Detail
-
getUserPassword
public byte[] getUserPassword()
-
setUserPassword
public void setUserPassword(byte[] userPassword)
-
getOwnerPassword
public byte[] getOwnerPassword()
-
setOwnerPassword
public void setOwnerPassword(byte[] ownerPassword)
-
getAllowedPrivileges
public int getAllowedPrivileges()
-
setAllowedPrivileges
public void setAllowedPrivileges(int allowedPrivileges)
-
getEncryptionType
public int getEncryptionType()
-
setEncryptionType
public void setEncryptionType(int encryptionType)
-
-