KeyOperation Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. security. keyvault. keys. models. KeyOperation
- com.
- com.
public final class KeyOperation
extends ExpandableStringEnum<KeyOperation>
JSON web key operations. For more information, see JsonWebKeyOperation.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Key |
DECRYPT
Static value decrypt for Key |
static final
Key |
ENCRYPT
Static value encrypt for Key |
static final
Key |
IMPORT
Static value import for Key |
static final
Key |
SIGN
Static value sign for Key |
static final
Key |
UNWRAP_KEY
Static value unwrap |
static final
Key |
VERIFY
Static value verify for Key |
static final
Key |
WRAP_KEY
Static value wrap |
Constructor Summary
Constructor | Description |
---|---|
KeyOperation() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromString(String name)
Creates or finds a Key |
static
Collection<Key |
values()
Gets known Key |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DECRYPT
public static final KeyOperation DECRYPT
Static value decrypt for KeyOperation.
ENCRYPT
public static final KeyOperation ENCRYPT
Static value encrypt for KeyOperation.
IMPORT
public static final KeyOperation IMPORT
Static value import for KeyOperation.
SIGN
public static final KeyOperation SIGN
Static value sign for KeyOperation.
UNWRAP_KEY
public static final KeyOperation UNWRAP_KEY
Static value unwrapKey for KeyOperation.
VERIFY
public static final KeyOperation VERIFY
Static value verify for KeyOperation.
WRAP_KEY
public static final KeyOperation WRAP_KEY
Static value wrapKey for KeyOperation.
Constructor Details
KeyOperation
@Deprecated
public KeyOperation()
Deprecated
Creates a new instance of KeyOperation value.
Method Details
fromString
public static KeyOperation fromString(String name)
Creates or finds a KeyOperation from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known KeyOperation values.
Returns:
Applies to
Azure SDK for Java