Enum ListKeysRequest.Algorithm
- java.lang.Object
-
- java.lang.Enum<ListKeysRequest.Algorithm>
-
- com.oracle.bmc.keymanagement.requests.ListKeysRequest.Algorithm
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListKeysRequest.Algorithm>
- Enclosing class:
- ListKeysRequest
public static enum ListKeysRequest.Algorithm extends Enum<ListKeysRequest.Algorithm> implements BmcEnum
The algorithm used by a key’s key versions to encrypt or decrypt data.Currently, support includes AES, RSA, and ECDSA algorithms.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListKeysRequest.Algorithm
create(String key)
String
getValue()
static ListKeysRequest.Algorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListKeysRequest.Algorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Aes
public static final ListKeysRequest.Algorithm Aes
-
Rsa
public static final ListKeysRequest.Algorithm Rsa
-
Ecdsa
public static final ListKeysRequest.Algorithm Ecdsa
-
-
Method Detail
-
values
public static ListKeysRequest.Algorithm[] 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 (ListKeysRequest.Algorithm c : ListKeysRequest.Algorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListKeysRequest.Algorithm 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
-
create
public static ListKeysRequest.Algorithm create(String key)
-
-