Class KeyOperation
java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeyOperation>
com.azure.security.keyvault.keys.models.KeyOperation
JSON web key operations. For more information, see JsonWebKeyOperation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyOperationStatic value decrypt for KeyOperation.static final KeyOperationStatic value encrypt for KeyOperation.static final KeyOperationStatic value import for KeyOperation.static final KeyOperationStatic value sign for KeyOperation.static final KeyOperationStatic value unwrapKey for KeyOperation.static final KeyOperationStatic value verify for KeyOperation.static final KeyOperationStatic value wrapKey for KeyOperation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyOperationfromString(String name) Creates or finds a KeyOperation from its string representation.static Collection<KeyOperation>values()Gets known KeyOperation values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENCRYPT
Static value encrypt for KeyOperation. -
DECRYPT
Static value decrypt for KeyOperation. -
SIGN
Static value sign for KeyOperation. -
VERIFY
Static value verify for KeyOperation. -
WRAP_KEY
Static value wrapKey for KeyOperation. -
UNWRAP_KEY
Static value unwrapKey for KeyOperation. -
IMPORT
Static value import for KeyOperation.
-
-
Constructor Details
-
KeyOperation
Deprecated.Use thefromString(String)factory method.Creates a new instance of KeyOperation value.
-
-
Method Details
-
fromString
Creates or finds a KeyOperation from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding KeyOperation.
-
values
Gets known KeyOperation values.- Returns:
- known KeyOperation values.
-
fromString(String)factory method.