public class Security extends Object
Provides PDF document security options.
Constructor and Description |
---|
Security()
Initializes new instance of
Security class. |
Modifier and Type | Method and Description |
---|---|
String |
getDocumentOpenPassword()
The password required to open the PDF document.
|
int |
getPermissions()
The PDF document permissions such as printing, modification and data extraction.
|
String |
getPermissionsPassword()
The password required to change permission settings;
Using a permissions password you can restrict printing, modification and data extraction.
|
void |
setDocumentOpenPassword(String value)
The password required to open the PDF document.
|
void |
setPermissions(int value)
The PDF document permissions such as printing, modification and data extraction.
|
void |
setPermissionsPassword(String value)
The password required to change permission settings;
Using a permissions password you can restrict printing, modification and data extraction.
|
public Security()
Initializes new instance of Security
class.
public final String getDocumentOpenPassword()
The password required to open the PDF document.
public final int getPermissions()
The PDF document permissions such as printing, modification and data extraction.
public final String getPermissionsPassword()
The password required to change permission settings; Using a permissions password you can restrict printing, modification and data extraction.
public final void setDocumentOpenPassword(String value)
The password required to open the PDF document.
public final void setPermissions(int value)
The PDF document permissions such as printing, modification and data extraction.
value
- The PDF document permissions such as printing, modification and data extraction.public final void setPermissionsPassword(String value)
The password required to change permission settings; Using a permissions password you can restrict printing, modification and data extraction.