Class KeyOperation
java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeyOperation>
com.azure.security.keyvault.keys.models.KeyOperation
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
JSON web key operations. For more information, see JsonWebKeyOperation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyOperationIndicates that the key can be used to decrypt.static final KeyOperationIndicates that the key can be used to encrypt.static final KeyOperationIndicates that the key can be imported during creation.static final KeyOperationIndicates that the key can be used to sign.static final KeyOperationIndicates that the key can be used to unwrap another key.static final KeyOperationIndicates that the key can be used to verify.static final KeyOperationIndicates that the key can be used to wrap another key. -
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, getValue, hashCode, toString, values
-
Field Details
-
ENCRYPT
Indicates that the key can be used to encrypt. -
DECRYPT
Indicates that the key can be used to decrypt. -
SIGN
Indicates that the key can be used to sign. -
VERIFY
Indicates that the key can be used to verify. -
WRAP_KEY
Indicates that the key can be used to wrap another key. -
UNWRAP_KEY
Indicates that the key can be used to unwrap another key. -
IMPORT
Indicates that the key can be imported during creation.
-
-
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.