com.adobe.livecycle.encryption.client
Class PasswordEncryptionOption

java.lang.Object
  extended by java.lang.Enum
      extended by com.adobe.livecycle.encryption.client.PasswordEncryptionOption
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class PasswordEncryptionOption
extends java.lang.Enum

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.

See Also:
Serialized Form

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

ALL

public static final PasswordEncryptionOption ALL
Encrypts the entire PDF document.


ALL_EXCEPT_METADATA

public static final PasswordEncryptionOption ALL_EXCEPT_METADATA
Encrypts the entire PDF document except for the metadata.


ATTACHMENTS_ONLY

public static final PasswordEncryptionOption ATTACHMENTS_ONLY
Encrypts only the attachments.

Method Detail

values

public static PasswordEncryptionOption[] values()

valueOf

public static PasswordEncryptionOption valueOf(java.lang.String name)