java.lang.Object
org.xhtmlrenderer.pdf.PDFEncryption
-
Constructor Summary
ConstructorsConstructorDescriptionPDFEncryption(byte[] userPassword, byte[] ownerPassword) PDFEncryption(byte[] userPassword, byte[] ownerPassword, int allowedPrivileges) PDFEncryption(byte[] userPassword, byte[] ownerPassword, int allowedPrivileges, int encryptionType) -
Method Summary
Modifier and TypeMethodDescriptionintintbyte[]byte[]voidsetAllowedPrivileges(int allowedPrivileges) voidsetEncryptionType(int encryptionType) voidsetOwnerPassword(byte[] ownerPassword) voidsetUserPassword(byte[] userPassword)
-
Constructor Details
-
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 Details
-
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)
-