Class SignatureAlgorithm
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SignatureAlgorithm>
com.azure.security.keyvault.keys.cryptography.models.SignatureAlgorithm
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class SignatureAlgorithm
extends com.azure.core.util.ExpandableStringEnum<SignatureAlgorithm>
Defines values for SignatureAlgorithm.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SignatureAlgorithm
ECDSA using P-256 and SHA-256, as described in RFC7518.static final SignatureAlgorithm
ECDSA using P-256K and SHA-256, as described in RFC7518.static final SignatureAlgorithm
ECDSA using P-384 and SHA-384, as described in RFC7518.static final SignatureAlgorithm
ECDSA using P-521 and SHA-512, as described in RFC7518.static final SignatureAlgorithm
HMAC using SHA-256, as described in RFC7518.static final SignatureAlgorithm
HMAC using SHA-384, as described in RFC7518.static final SignatureAlgorithm
HMAC using SHA-512, as described in RFC7518.static final SignatureAlgorithm
RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in RFC7518.static final SignatureAlgorithm
RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in RFC7518.static final SignatureAlgorithm
RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in RFC7518.static final SignatureAlgorithm
RSASSA-PKCS1-v1_5 using SHA-256, as described in RFC7518.static final SignatureAlgorithm
RSASSA-PKCS1-v1_5 using SHA-384, as described in RFC7518.static final SignatureAlgorithm
RSASSA-PKCS1-v1_5 using SHA-512, as described in RFC7518. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureAlgorithm
fromString
(String name) Creates or finds a SignatureAlgorithm from its string representation.static Collection
<SignatureAlgorithm> values()
Gets the known SignatureAlgorithm values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PS256
RSASSA-PSS using SHA-256 and MGF1 with SHA-256, as described in RFC7518. -
PS384
RSASSA-PSS using SHA-384 and MGF1 with SHA-384, as described in RFC7518. -
PS512
RSASSA-PSS using SHA-512 and MGF1 with SHA-512, as described in RFC7518. -
RS256
RSASSA-PKCS1-v1_5 using SHA-256, as described in RFC7518. -
RS384
RSASSA-PKCS1-v1_5 using SHA-384, as described in RFC7518. -
RS512
RSASSA-PKCS1-v1_5 using SHA-512, as described in RFC7518. -
ES256
ECDSA using P-256 and SHA-256, as described in RFC7518. -
ES384
ECDSA using P-384 and SHA-384, as described in RFC7518. -
ES512
ECDSA using P-521 and SHA-512, as described in RFC7518. -
ES256K
ECDSA using P-256K and SHA-256, as described in RFC7518. -
HS256
HMAC using SHA-256, as described in RFC7518. -
HS384
HMAC using SHA-384, as described in RFC7518. -
HS512
HMAC using SHA-512, as described in RFC7518.
-
-
Constructor Details
-
SignatureAlgorithm
Deprecated.Use thefromString(String)
factory method.Creates a new instance ofSignatureAlgorithm
without aExpandableStringEnum.toString()
value.This constructor shouldn't be called as it will produce a
SignatureAlgorithm
which doesn't have a String enum value.
-
-
Method Details
-
fromString
Creates or finds a SignatureAlgorithm from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding SignatureAlgorithm.
-
values
Gets the known SignatureAlgorithm values.- Returns:
- known SignatureAlgorithm values.
-
fromString(String)
factory method.