Class EncryptionAlgorithm
java.lang.Object
com.azure.core.util.ExpandableStringEnum<EncryptionAlgorithm>
com.azure.security.keyvault.keys.cryptography.models.EncryptionAlgorithm
public final class EncryptionAlgorithm
extends com.azure.core.util.ExpandableStringEnum<EncryptionAlgorithm>
Defines values for EncryptionAlgorithm.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EncryptionAlgorithmStatic value A128CBC for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A128CBC_HS256 for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A128CBCPAD for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A128GCM for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A128KW for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A192CBC for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A192CBC_HS384 for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A192CBCPAD for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A192GCM for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A192KW for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A256CBC for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A256CBC_HS512 for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A256CBCPAD for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A256GCM for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value A256KW for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value RSA_OAEP for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value RSA_OAEP_256 for EncryptionAlgorithm.static final EncryptionAlgorithmStatic value RSA1_5 for EncryptionAlgorithm. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionAlgorithmfromString(String name) Creates or finds a EncryptionAlgorithm from its string representation.static Collection<EncryptionAlgorithm>values()Gets known EncryptionAlgorithm values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
RSA_OAEP
Static value RSA_OAEP for EncryptionAlgorithm. -
RSA_OAEP_256
Static value RSA_OAEP_256 for EncryptionAlgorithm. -
RSA1_5
Static value RSA1_5 for EncryptionAlgorithm. -
A128CBC
Static value A128CBC for EncryptionAlgorithm. -
A192CBC
Static value A192CBC for EncryptionAlgorithm. -
A256CBC
Static value A256CBC for EncryptionAlgorithm. -
A128CBCPAD
Static value A128CBCPAD for EncryptionAlgorithm. -
A192CBCPAD
Static value A192CBCPAD for EncryptionAlgorithm. -
A256CBCPAD
Static value A256CBCPAD for EncryptionAlgorithm. -
A128CBC_HS256
Static value A128CBC_HS256 for EncryptionAlgorithm. -
A192CBC_HS384
Static value A192CBC_HS384 for EncryptionAlgorithm. -
A256CBC_HS512
Static value A256CBC_HS512 for EncryptionAlgorithm. -
A128GCM
Static value A128GCM for EncryptionAlgorithm. -
A192GCM
Static value A192GCM for EncryptionAlgorithm. -
A256GCM
Static value A256GCM for EncryptionAlgorithm. -
A128KW
Static value A128KW for EncryptionAlgorithm. -
A192KW
Static value A192KW for EncryptionAlgorithm. -
A256KW
Static value A256KW for EncryptionAlgorithm.
-
-
Constructor Details
-
EncryptionAlgorithm
Deprecated.Use thefromString(String)factory method.Creates a new instance ofEncryptionAlgorithmwithout aExpandableStringEnum.toString()value.This constructor shouldn't be called as it will produce a
EncryptionAlgorithmwhich doesn't have a String enum value.
-
-
Method Details
-
fromString
Creates or finds a EncryptionAlgorithm from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding EncryptionAlgorithm.
-
values
Gets known EncryptionAlgorithm values.- Returns:
- known EncryptionAlgorithm values.
-
fromString(String)factory method.