public enum SignatureAlgorithm extends Enum<SignatureAlgorithm> implements HasCode<SignatureAlgorithm>
| Modifier and Type | Class and Description |
|---|---|
static class |
SignatureAlgorithm.SignatureAlgorithmDeserializer |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static SignatureAlgorithm |
of(String code) |
static SignatureAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignatureAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignatureAlgorithm SHA1
public static final SignatureAlgorithm SHA256
public static final SignatureAlgorithm SHA512
public static SignatureAlgorithm[] values()
for (SignatureAlgorithm c : SignatureAlgorithm.values()) System.out.println(c);
public static SignatureAlgorithm valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SignatureAlgorithm of(String code)
public String getCode()
getCode in interface HasCode<SignatureAlgorithm>Copyright © 2019. All rights reserved.