|
Gnostice PDFOne
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gnostice.pdfone.PdfEncryption
This class is used to specify the encryption settings and access permissions for a document.
Field Summary | |
static int |
AllowAccessibility
User access permission for extracting text and graphics meant for applications such as those providing accessibility to people with disabilities. |
static int |
AllowAssembly
User access permission for assembling the document, including inserting, rotating, or deleting pages and creating bookmarks or thumbnail images. |
static int |
AllowCopy
User access permission for copying or extracting of all text and graphics but not including those allowed by AllowAccessibility . |
static int |
AllowFormFill
User access permission for filling in existing form fields (including signature fields). |
static int |
AllowHighResPrint
User access permission for printing a document in high resolution. |
static int |
AllowModifyAnnotations
User access permission for adding or modifying text annotations, filling in existing interactive form fields, and (if AllowModifyContents is also set) creating new
or modifying existing interactive form fields including
signature fields
|
static int |
AllowModifyContents
User access permission for modifying the document in ways not including those allowed by AllowModifyAnnotations ,
AllowFormFill , and AllowAssembly . |
static int |
AllowPrinting
User access permission for printing the document. |
static int |
LEVEL_128_BIT
Encryption key lenth of 128 bits. |
static int |
LEVEL_40_BIT
Encryption key lenth of 40 bits. |
static int |
LEVEL_AES_128BIT
|
static int |
LEVEL_RC4_128BIT
|
static int |
LEVEL_RC4_40BIT
|
Method Summary | |
int |
getLevel()
|
String |
getOwnerPwd()
Returns owner password specified for this PdfEncryption object. |
int |
getPermissions()
Returns user access permissions specified for this PdfEncryption object. |
String |
getUserPwd()
Returns user password specified for this PdfEncryption object. |
void |
setLevel(int level)
Specifies encryption key length for this PdfEncryption object. |
void |
setOwnerPwd(String ownerPwd)
Specifies owner password for this PdfEncryption
object. |
void |
setPermissions(int permissions)
Specifies user access permissions for this PdfEncryption object. |
void |
setUserPwd(String userPwd)
Specifies user password for this PdfEncryption
object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LEVEL_40_BIT
public static final int LEVEL_128_BIT
public static final int LEVEL_RC4_40BIT
public static final int LEVEL_RC4_128BIT
public static final int LEVEL_AES_128BIT
public static final int AllowPrinting
AllowHighResPrint
is not set, then printing may be at
a low resolution or quality.
public static final int AllowModifyContents
AllowModifyAnnotations
,
AllowFormFill
, and AllowAssembly
.
public static final int AllowCopy
AllowAccessibility
.
public static final int AllowModifyAnnotations
AllowModifyContents
is also set) creating new
or modifying existing interactive form fields including
signature fields
public static final int AllowFormFill
AllowModifyAnnotations
also need to be permitted.
public static final int AllowAccessibility
public static final int AllowAssembly
AllowModifyContents
also be permitted.
public static final int AllowHighResPrint
Method Detail |
public int getLevel()
public void setLevel(int level)
PdfEncryption
object.
level
- constant specifying the encryption key length for
this PdfEncryption
objectpublic String getOwnerPwd()
PdfEncryption
object.
PdfEncryption
objectpublic void setOwnerPwd(String ownerPwd)
PdfEncryption
object.
ownerPwd
- owner password for the PdfEncryption
objectpublic int getPermissions()
PdfEncryption
object.
PdfEncryption
objectpublic void setPermissions(int permissions)
PdfEncryption
object.
permissions
- constants or combined value of constant specifying
user access permissions for this
PdfEncryption
objectpublic String getUserPwd()
PdfEncryption
object.
PdfEncryption
objectpublic void setUserPwd(String userPwd)
PdfEncryption
object.
userPwd
- user password for the PdfEncryption
object
|
Pro. Ed. v5.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |