Package org.xhtmlrenderer.pdf
Class PDFEncryption
java.lang.Object
org.xhtmlrenderer.pdf.PDFEncryption
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
private final byte[]
private final byte[]
-
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 TypeMethodDescriptionint
int
byte[]
byte[]
-
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()
-