SecureKeyWrapAlgorithm Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. security. keyvault. keys. cryptography. models. SecureKeyWrapAlgorithm
- com.
- com.
public final class SecureKeyWrapAlgorithm
extends ExpandableStringEnum<SecureKeyWrapAlgorithm>
Defines values for the algorithms used by the secure key wrap and secure key unwrap operations.
Secure key wrap and unwrap operations are only supported remotely and cannot be performed locally.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Secure |
A128KW
128-bit AES key wrap. |
|
static final
Secure |
A128KWPAD
128-bit AES key wrap with padding. |
|
static final
Secure |
A192KW
192-bit AES key wrap. |
|
static final
Secure |
A192KWPAD
192-bit AES key wrap with padding. |
|
static final
Secure |
A256KW
256-bit AES key wrap. |
|
static final
Secure |
A256KWPAD
256-bit AES key wrap with padding. |
|
static final
Secure |
CKM_AES_KEY_WRAP
CKM AES key wrap. |
|
static final
Secure |
CKM_AES_KEY_WRAP_PAD
CKM AES key wrap with padding. |
|
static final
Secure |
RSA_OAEP_256
RSAES using Optimal Asymmetric Encryption Padding with a hash function of SHA-256 and a mask generation function of MGF1 with SHA-256. |
Constructor Summary
| Constructor | Description |
|---|---|
| SecureKeyWrapAlgorithm() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of SecureKeyWrapAlgorithm without a #toString() value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Secure |
fromString(String name)
Creates or finds a Secure |
|
static
Collection<Secure |
values()
Gets known Secure |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
A128KW
public static final SecureKeyWrapAlgorithm A128KW
128-bit AES key wrap.
A128KWPAD
public static final SecureKeyWrapAlgorithm A128KWPAD
128-bit AES key wrap with padding.
A192KW
public static final SecureKeyWrapAlgorithm A192KW
192-bit AES key wrap.
A192KWPAD
public static final SecureKeyWrapAlgorithm A192KWPAD
192-bit AES key wrap with padding.
A256KW
public static final SecureKeyWrapAlgorithm A256KW
256-bit AES key wrap.
A256KWPAD
public static final SecureKeyWrapAlgorithm A256KWPAD
256-bit AES key wrap with padding.
CKM_AES_KEY_WRAP
public static final SecureKeyWrapAlgorithm CKM_AES_KEY_WRAP
CKM AES key wrap.
CKM_AES_KEY_WRAP_PAD
public static final SecureKeyWrapAlgorithm CKM_AES_KEY_WRAP_PAD
CKM AES key wrap with padding.
RSA_OAEP_256
public static final SecureKeyWrapAlgorithm RSA_OAEP_256
RSAES using Optimal Asymmetric Encryption Padding with a hash function of SHA-256 and a mask generation function of MGF1 with SHA-256.
Constructor Details
SecureKeyWrapAlgorithm
@Deprecated
public SecureKeyWrapAlgorithm()
Deprecated
Creates a new instance of SecureKeyWrapAlgorithm without a #toString() value.
This constructor shouldn't be called as it will produce a SecureKeyWrapAlgorithm which doesn't have a String enum value.
Method Details
fromString
public static SecureKeyWrapAlgorithm fromString(String name)
Creates or finds a SecureKeyWrapAlgorithm from its string representation.
Parameters:
Returns:
values
public static Collection<SecureKeyWrapAlgorithm> values()
Gets known SecureKeyWrapAlgorithm values.
Returns: