public class PDFEncryption
extends java.lang.Object
Constructor and Description |
---|
PDFEncryption() |
PDFEncryption(byte[] userPassword,
byte[] ownerPassword) |
PDFEncryption(byte[] userPassword,
byte[] ownerPassword,
int allowedPrivileges) |
PDFEncryption(byte[] userPassword,
byte[] ownerPassword,
int allowedPrivileges,
int encryptionType) |
Modifier and Type | Method and 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) |
public PDFEncryption()
public PDFEncryption(byte[] userPassword, byte[] ownerPassword)
public PDFEncryption(byte[] userPassword, byte[] ownerPassword, int allowedPrivileges)
public PDFEncryption(byte[] userPassword, byte[] ownerPassword, int allowedPrivileges, int encryptionType)
public byte[] getUserPassword()
public void setUserPassword(byte[] userPassword)
public byte[] getOwnerPassword()
public void setOwnerPassword(byte[] ownerPassword)
public int getAllowedPrivileges()
public void setAllowedPrivileges(int allowedPrivileges)
public int getEncryptionType()
public void setEncryptionType(int encryptionType)