Package com.gitlab.pdftk_java
Enum TK_Session.encryption_strength
- java.lang.Object
-
- java.lang.Enum<TK_Session.encryption_strength>
-
- com.gitlab.pdftk_java.TK_Session.encryption_strength
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TK_Session.encryption_strength>
- Enclosing class:
- TK_Session
static enum TK_Session.encryption_strength extends java.lang.Enum<TK_Session.encryption_strength>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description aes128_enc
none_enc
rc4_128_enc
rc4_40_enc
-
Field Summary
Fields Modifier and Type Field Description (package private) char
pdf_version
(package private) int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
encryption_strength(int value, char pdf_version)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TK_Session.encryption_strength
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TK_Session.encryption_strength[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none_enc
public static final TK_Session.encryption_strength none_enc
-
rc4_40_enc
public static final TK_Session.encryption_strength rc4_40_enc
-
rc4_128_enc
public static final TK_Session.encryption_strength rc4_128_enc
-
aes128_enc
public static final TK_Session.encryption_strength aes128_enc
-
-
Method Detail
-
values
public static TK_Session.encryption_strength[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TK_Session.encryption_strength c : TK_Session.encryption_strength.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TK_Session.encryption_strength valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-