Enum Class OrchestrationKeyRequest.PurposeEnum
java.lang.Object
java.lang.Enum<OrchestrationKeyRequest.PurposeEnum>
co.ankatech.keymanagement.client.keymanagement.model.OrchestrationKeyRequest.PurposeEnum
- All Implemented Interfaces:
Serializable,Comparable<OrchestrationKeyRequest.PurposeEnum>,Constable
- Enclosing class:
- OrchestrationKeyRequest
public static enum OrchestrationKeyRequest.PurposeEnum
extends Enum<OrchestrationKeyRequest.PurposeEnum>
Cryptographic purpose. Optional — the cryptographic service derives it from the algorithm's key operations when unambiguous. REQUIRED for ambiguous algorithms whose key operations span both families (RSA, EC): supplying it narrows the operations sent to the cryptographic service to that purpose's family so the cryptographic service can resolve the purpose without returning 422 purpose-required. When omitted for an ambiguous algorithm, the cryptographic service 422 backstop applies.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()toString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Returns the enum constant of this class with the specified name.static OrchestrationKeyRequest.PurposeEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
ENCRYPT_DECRYPT
-
SIGN_VERIFY
-
UNKNOWN_DEFAULT_OPEN_API
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<OrchestrationKeyRequest.PurposeEnum>
-
fromValue
-
validateJsonElement
- Throws:
IOException
-