|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Enum com.adobe.livecycle.encryption.client.PasswordEncryptionOption
public final class PasswordEncryptionOption
Represents an enumeration value that specifies the PDF document resources to encrypt. You can encrypt the entire PDF document, you can encrypt everything except for the document's metadata, or you can encrypt just the document's attachments. If you encrypt only the document's attachments, then a user is prompted for a password when they attempt to access the file attachments.
This enumeration value is used when invoking the
PasswordEncryptionOptionSpec
object's
setEncryptOption()
method.
To see this enumeration value used in a code example, see the
Encrypting a PDF document using the Java API quick start in
Programming with Adobe Experience Manager forms.
Field Summary | |
---|---|
static PasswordEncryptionOption |
ALL
Encrypts the entire PDF document. |
static PasswordEncryptionOption |
ALL_EXCEPT_METADATA
Encrypts the entire PDF document except for the metadata. |
static PasswordEncryptionOption |
ATTACHMENTS_ONLY
Encrypts only the attachments. |
Method Summary | |
---|---|
static PasswordEncryptionOption |
valueOf(java.lang.String name)
|
static PasswordEncryptionOption[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PasswordEncryptionOption ALL
public static final PasswordEncryptionOption ALL_EXCEPT_METADATA
public static final PasswordEncryptionOption ATTACHMENTS_ONLY
Method Detail |
---|
public static PasswordEncryptionOption[] values()
public static PasswordEncryptionOption valueOf(java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |