Class KeyWrapAlgorithm
java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeyWrapAlgorithm>
com.azure.security.keyvault.keys.cryptography.models.KeyWrapAlgorithm
public final class KeyWrapAlgorithm
extends com.azure.core.util.ExpandableStringEnum<KeyWrapAlgorithm>
Defines values for KeyWrapAlgorithm.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final KeyWrapAlgorithmStatic value A128KW for KeyWrapAlgorithm.static final KeyWrapAlgorithmStatic value A192KW for KeyWrapAlgorithm.static final KeyWrapAlgorithmStatic value Unwrap Key for KeyWrapAlgorithm.static final KeyWrapAlgorithmStatic value RSA-OAEP for KeyWrapAlgorithm.static final KeyWrapAlgorithmStatic value RSA-OAEP-256 for KeyWrapAlgorithm.static final KeyWrapAlgorithmStatic value RSA1_5 for KeyWrapAlgorithm. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyWrapAlgorithmfromString(String name) Creates or finds a KeyWrapAlgorithm from its string representation.static Collection<KeyWrapAlgorithm>values()Gets known KeyWrapAlgorithm values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
RSA_OAEP
Static value RSA-OAEP for KeyWrapAlgorithm. -
RSA_OAEP_256
Static value RSA-OAEP-256 for KeyWrapAlgorithm. -
RSA1_5
Static value RSA1_5 for KeyWrapAlgorithm. -
A192KW
Static value A192KW for KeyWrapAlgorithm. -
A128KW
Static value A128KW for KeyWrapAlgorithm. -
A256KW
Static value Unwrap Key for KeyWrapAlgorithm.
-
-
Constructor Details
-
KeyWrapAlgorithm
Deprecated.Use thefromString(String)factory method.Creates a new instance ofKeyWrapAlgorithmwithout aExpandableStringEnum.toString()value.This constructor shouldn't be called as it will produce a
KeyWrapAlgorithmwhich doesn't have a String enum value.
-
-
Method Details
-
fromString
Creates or finds a KeyWrapAlgorithm from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding KeyWrapAlgorithm.
-
values
Gets known KeyWrapAlgorithm values.- Returns:
- known KeyWrapAlgorithm values.
-
fromString(String)factory method.