Enum SignDataDetails.MessageType
- java.lang.Object
-
- java.lang.Enum<SignDataDetails.MessageType>
-
- com.oracle.bmc.keymanagement.model.SignDataDetails.MessageType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SignDataDetails.MessageType>
- Enclosing class:
- SignDataDetails
public static enum SignDataDetails.MessageType extends Enum<SignDataDetails.MessageType> implements BmcEnum
Denotes whether the value of the message parameter is a raw message or a message digest.The default value, RAW, indicates a message. To indicate a message digest, use DIGEST.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignDataDetails.MessageType
create(String key)
String
getValue()
static SignDataDetails.MessageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SignDataDetails.MessageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Raw
public static final SignDataDetails.MessageType Raw
-
Digest
public static final SignDataDetails.MessageType Digest
-
-
Method Detail
-
values
public static SignDataDetails.MessageType[] 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 (SignDataDetails.MessageType c : SignDataDetails.MessageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignDataDetails.MessageType 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 SignDataDetails.MessageType create(String key)
-
-