Package net.shibboleth.idp.cli
Enum DataSealerArguments.OperationType
- java.lang.Object
-
- java.lang.Enum<DataSealerArguments.OperationType>
-
- net.shibboleth.idp.cli.DataSealerArguments.OperationType
-
- All Implemented Interfaces:
Serializable,Comparable<DataSealerArguments.OperationType>
- Enclosing class:
- DataSealerArguments
public static enum DataSealerArguments.OperationType extends Enum<DataSealerArguments.OperationType>
Operation enum.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateOperationType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSealerArguments.OperationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DataSealerArguments.OperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRAP
public static final DataSealerArguments.OperationType WRAP
Wrap/encrypt.
-
UNWRAP
public static final DataSealerArguments.OperationType UNWRAP
Unwrap/decrypt.
-
-
Method Detail
-
values
public static DataSealerArguments.OperationType[] 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 (DataSealerArguments.OperationType c : DataSealerArguments.OperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSealerArguments.OperationType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-