|
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 that allows for extracting text and graphics meant for applications such as providing accessibility to persons with disabilities. |
static int |
AllowAssembly
User access permission that allows for assembling the document, including inserting, rotating, or deleting pages and creating bookmarks or thumbnail images, even when AllowModifyContents has not been specified. |
static int |
AllowCopy
User access permission that allows for copying or extracting of all text and graphics, but not those covered by AllowAccessibility . |
static int |
AllowFormFill
User access permission that allows for filling in existing form fields (including signature fields) even when AllowModifyAnnotations has not been specified. |
static int |
AllowHighResPrint
User access permission that allows for printing a document with quality of appearance high enough to be able to reproduce an exact digital copy. |
static int |
AllowModifyAnnotations
User access permission that allows for adding or modifying text annotations and filling in interactive form fields, and, in conjunction with AllowModifyContents , allows for
creating or modifying interactive form fields (including
signature fields). |
static int |
AllowModifyContents
User access permission that allows for modification of document through means other than those specified by AllowModifyAnnotations , AllowFormFill , and
AllowAssembly . |
static int |
AllowPrinting
User access permission that allows for printing of document, but not necessarily at quality level specified by AllowHighResPrint . |
static int |
LEVEL_128_BIT
Encryption key lenth of 128 bits. |
static int |
LEVEL_40_BIT
Encryption key lenth of 40 bits. |
Method Summary | |
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 AllowPrinting
AllowHighResPrint
.
public static final int AllowModifyContents
AllowModifyAnnotations
, AllowFormFill
, and
AllowAssembly
.
public static final int AllowCopy
AllowAccessibility
.
public static final int AllowModifyAnnotations
AllowModifyContents
, allows for
creating or modifying interactive form fields (including
signature fields).
public static final int AllowFormFill
AllowModifyAnnotations
has not been specified.
public static final int AllowAccessibility
public static final int AllowAssembly
AllowModifyContents
has not been specified.
public static final int AllowHighResPrint
Method Detail |
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. v1.41 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |