public enum EncryptionType extends java.lang.Enum<EncryptionType>
| Enum Constant and Description |
|---|
AES_256
Encrypt the document using 256-bit AES encryption for Acrobat 9 or earlier.
|
AES_256_ACRO_X
Encrypt the document using 256-bit AES encryption for Acrobat 10 or later.
|
RC_4_128
Encrypt the document using 128-bit RC4 encryption for Acrobat 5 or later.
|
RC_4_40
Encrypt the document using 40-bit RC4 encryption for Acrobat 5 or later.
|
STANDARD
Reuse the document's current encryption settings, or use the standard 128-bit encryption.
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionType STANDARD
public static final EncryptionType AES_256
public static final EncryptionType AES_256_ACRO_X
public static final EncryptionType RC_4_40
public static final EncryptionType RC_4_128
public static EncryptionType[] values()
for (EncryptionType c : EncryptionType.values()) System.out.println(c);
public static EncryptionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null