Class Encryption
- java.lang.Object
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeBase
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
-
- com.pdf_tools.fourheights.pdftoolbox.pdf.Encryption
-
public class Encryption extends NativeObject
-
-
Constructor Summary
Constructors Constructor Description Encryption(java.lang.String userPassword, java.lang.String ownerPassword, java.util.EnumSet<Permission> permissions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOwnerPassword()
java.util.EnumSet<Permission>
getPermissions()
java.lang.String
getUserPassword()
void
setOwnerPassword(java.lang.String value)
void
setPermissions(java.util.EnumSet<Permission> value)
void
setUserPassword(java.lang.String value)
-
Methods inherited from class com.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Constructor Detail
-
Encryption
public Encryption(java.lang.String userPassword, java.lang.String ownerPassword, java.util.EnumSet<Permission> permissions)
- Parameters:
userPassword
-ownerPassword
-permissions
-- Throws:
java.lang.IllegalArgumentException
- ifpermissions
isnull
-
-
Method Detail
-
getUserPassword
public java.lang.String getUserPassword()
-
setUserPassword
public void setUserPassword(java.lang.String value)
-
getOwnerPassword
public java.lang.String getOwnerPassword()
-
setOwnerPassword
public void setOwnerPassword(java.lang.String value)
-
getPermissions
public java.util.EnumSet<Permission> getPermissions()
-
setPermissions
public void setPermissions(java.util.EnumSet<Permission> value)
- Throws:
java.lang.IllegalArgumentException
- ifvalue
isnull
-
-