KeyWrapAlgorithm Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. security. keyvault. keys. cryptography. models. KeyWrapAlgorithm
- com.
- com.
public final class KeyWrapAlgorithm
extends ExpandableStringEnum<KeyWrapAlgorithm>
Defines values for KeyWrapAlgorithm.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Key |
A128KW
Static value A128KW for Key |
static final
Key |
A192KW
Static value A192KW for Key |
static final
Key |
A256KW
Static value Unwrap Key for Key |
static final
Key |
RSA1_5
Static value RSA1_5 for Key |
static final
Key |
RSA_OAEP
Static value RSA-OAEP for Key |
static final
Key |
RSA_OAEP_256
Static value RSA-OAEP-256 for Key |
Constructor Summary
Constructor | Description |
---|---|
KeyWrapAlgorithm() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of KeyWrapAlgorithm without a #toString() value. |
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
A128KW
public static final KeyWrapAlgorithm A128KW
Static value A128KW for KeyWrapAlgorithm.
A192KW
public static final KeyWrapAlgorithm A192KW
Static value A192KW for KeyWrapAlgorithm.
A256KW
public static final KeyWrapAlgorithm A256KW
Static value Unwrap Key for KeyWrapAlgorithm.
RSA1_5
public static final KeyWrapAlgorithm RSA1_5
Static value RSA1_5 for KeyWrapAlgorithm.
RSA_OAEP
public static final KeyWrapAlgorithm RSA_OAEP
Static value RSA-OAEP for KeyWrapAlgorithm.
RSA_OAEP_256
public static final KeyWrapAlgorithm RSA_OAEP_256
Static value RSA-OAEP-256 for KeyWrapAlgorithm.
Constructor Details
KeyWrapAlgorithm
@Deprecated
public KeyWrapAlgorithm()
Deprecated
Creates a new instance of KeyWrapAlgorithm without a #toString() value.
This constructor shouldn't be called as it will produce a KeyWrapAlgorithm which doesn't have a String enum value.
Method Details
fromString
public static KeyWrapAlgorithm fromString(String name)
Creates or finds a KeyWrapAlgorithm from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known KeyWrapAlgorithm values.
Returns:
Applies to
Azure SDK for Java