Class PasswordEncryptionOption

  extended by java.lang.Enum
      extended by com.adobe.livecycle.encryption.client.PasswordEncryptionOption
All Implemented Interfaces:, 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 LiveCycle ES4.

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


public static final PasswordEncryptionOption ALL
Encrypts the entire PDF document.


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


public static final PasswordEncryptionOption ATTACHMENTS_ONLY
Encrypts only the attachments.

Method Detail


public static PasswordEncryptionOption[] values()


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

[an error occurred while processing this directive] [an error occurred while processing this directive]