Package com.datalogics.PDFL
Enum Class EncryptionType
- All Implemented Interfaces:
Serializable,Comparable<EncryptionType>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEncrypt the document using 256-bit AES encryption for Acrobat 9 or earlier.Encrypt the document using 256-bit AES encryption for Acrobat 10 or later.Encrypt the document using 128-bit RC4 encryption for Acrobat 5 or later.Encrypt the document using 40-bit RC4 encryption for Acrobat 5 or later.Reuse the document's current encryption settings, or use the standard 128-bit encryption. -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionTypeReturns the enum constant of this class with the specified name.static EncryptionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
STANDARD
Reuse the document's current encryption settings, or use the standard 128-bit encryption. -
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_40
Encrypt the document using 40-bit RC4 encryption for Acrobat 5 or later. -
RC_4_128
Encrypt the document using 128-bit RC4 encryption for Acrobat 5 or later.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-