SignatureAlgorithm Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. security. keyvault. keys. cryptography. models. SignatureAlgorithm
- com.
- com.
public final class SignatureAlgorithm
extends ExpandableStringEnum<SignatureAlgorithm>
Defines values for SignatureAlgorithm.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Signature |
ES256
Static value ES256 for Signature |
static final
Signature |
ES256K
Static value ES256K for Signature |
static final
Signature |
ES384
Static value ES384 for Signature |
static final
Signature |
ES512
Static value ES512 for Signature |
static final
Signature |
PS256
Static value PS256 for Signature |
static final
Signature |
PS384
Static value PS384 for Signature |
static final
Signature |
PS512
Static value PS512 for Signature |
static final
Signature |
RS256
Static value RS256 for Signature |
static final
Signature |
RS384
Static value RS384 for Signature |
static final
Signature |
RS512
Static value RS512 for Signature |
Constructor Summary
Constructor | Description |
---|---|
SignatureAlgorithm() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of SignatureAlgorithm without a #toString() value. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Signature |
fromString(String name)
Creates or finds a Signature |
static
Collection<Signature |
values()
Gets the known Signature |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ES256
public static final SignatureAlgorithm ES256
Static value ES256 for SignatureAlgorithm.
ES256K
public static final SignatureAlgorithm ES256K
Static value ES256K for SignatureAlgorithm.
ES384
public static final SignatureAlgorithm ES384
Static value ES384 for SignatureAlgorithm.
ES512
public static final SignatureAlgorithm ES512
Static value ES512 for SignatureAlgorithm.
PS256
public static final SignatureAlgorithm PS256
Static value PS256 for SignatureAlgorithm.
PS384
public static final SignatureAlgorithm PS384
Static value PS384 for SignatureAlgorithm.
PS512
public static final SignatureAlgorithm PS512
Static value PS512 for SignatureAlgorithm.
RS256
public static final SignatureAlgorithm RS256
Static value RS256 for SignatureAlgorithm.
RS384
public static final SignatureAlgorithm RS384
Static value RS384 for SignatureAlgorithm.
RS512
public static final SignatureAlgorithm RS512
Static value RS512 for SignatureAlgorithm.
Constructor Details
SignatureAlgorithm
@Deprecated
public SignatureAlgorithm()
Deprecated
Creates a new instance of SignatureAlgorithm without a #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
public static SignatureAlgorithm fromString(String name)
Creates or finds a SignatureAlgorithm from its string representation.
Parameters:
Returns:
values
public static Collection
Gets the known SignatureAlgorithm values.
Returns:
Applies to
Azure SDK for Java