public enum SigningAlgorithm extends java.lang.Enum<SigningAlgorithm>
| Enum Constant and Description |
|---|
ECDSA_SHA256 |
HMAC_SHA256 |
HS2019
The actual cryptographic algorithm is derived from metadata associated
with keyId.
|
RSA_SHA1 |
RSA_SHA256 |
| Modifier and Type | Method and Description |
|---|---|
static SigningAlgorithm |
get(java.lang.String name)
Returns the SigningAlgorithm with the specified name.
|
java.lang.String |
getAlgorithmName() |
java.util.Set<Algorithm> |
getSupportedAlgorithms() |
java.lang.String |
toString() |
static SigningAlgorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SigningAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SigningAlgorithm HS2019
public static final SigningAlgorithm RSA_SHA1
public static final SigningAlgorithm RSA_SHA256
public static final SigningAlgorithm ECDSA_SHA256
public static final SigningAlgorithm HMAC_SHA256
public static SigningAlgorithm[] values()
for (SigningAlgorithm c : SigningAlgorithm.values()) System.out.println(c);
public static SigningAlgorithm valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getAlgorithmName()
public java.util.Set<Algorithm> getSupportedAlgorithms()
public static SigningAlgorithm get(java.lang.String name)
name - the name of the signing algorithm.public java.lang.String toString()
toString in class java.lang.Enum<SigningAlgorithm>Copyright © 2014-2020 Tomitribe Corporation. All Rights Reserved.