Class HashingAlgorithm
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HashingAlgorithm>
com.azure.resourcemanager.logic.models.HashingAlgorithm
public final class HashingAlgorithm
extends com.azure.core.util.ExpandableStringEnum<HashingAlgorithm>
The signing or hashing algorithm.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HashingAlgorithm
Static value MD5 for HashingAlgorithm.static final HashingAlgorithm
Static value None for HashingAlgorithm.static final HashingAlgorithm
Static value NotSpecified for HashingAlgorithm.static final HashingAlgorithm
Static value SHA1 for HashingAlgorithm.static final HashingAlgorithm
Static value SHA2256 for HashingAlgorithm.static final HashingAlgorithm
Static value SHA2384 for HashingAlgorithm.static final HashingAlgorithm
Static value SHA2512 for HashingAlgorithm. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HashingAlgorithm
fromString
(String name) Creates or finds a HashingAlgorithm from its string representation.static Collection<HashingAlgorithm>
values()
Gets known HashingAlgorithm values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NOT_SPECIFIED
Static value NotSpecified for HashingAlgorithm. -
NONE
Static value None for HashingAlgorithm. -
MD5
Static value MD5 for HashingAlgorithm. -
SHA1
Static value SHA1 for HashingAlgorithm. -
SHA2256
Static value SHA2256 for HashingAlgorithm. -
SHA2384
Static value SHA2384 for HashingAlgorithm. -
SHA2512
Static value SHA2512 for HashingAlgorithm.
-
-
Constructor Details
-
HashingAlgorithm
Deprecated.Use thefromString(String)
factory method.Creates a new instance of HashingAlgorithm value.
-
-
Method Details
-
fromString
Creates or finds a HashingAlgorithm from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding HashingAlgorithm.
-
values
Gets known HashingAlgorithm values.- Returns:
- known HashingAlgorithm values.
-
fromString(String)
factory method.