Package com.adaptris.core.security
Enum SymmetricKeyCryptographyService.OpMode
- java.lang.Object
-
- java.lang.Enum<SymmetricKeyCryptographyService.OpMode>
-
- com.adaptris.core.security.SymmetricKeyCryptographyService.OpMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SymmetricKeyCryptographyService.OpMode>
- Enclosing class:
- SymmetricKeyCryptographyService
public static enum SymmetricKeyCryptographyService.OpMode extends java.lang.Enum<SymmetricKeyCryptographyService.OpMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SymmetricKeyCryptographyService.OpMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SymmetricKeyCryptographyService.OpMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECRYPT
public static final SymmetricKeyCryptographyService.OpMode DECRYPT
-
ENCRYPT
public static final SymmetricKeyCryptographyService.OpMode ENCRYPT
-
-
Method Detail
-
values
public static SymmetricKeyCryptographyService.OpMode[] 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 (SymmetricKeyCryptographyService.OpMode c : SymmetricKeyCryptographyService.OpMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SymmetricKeyCryptographyService.OpMode 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
-
-