public enum HashingAlgorithm extends Enum<HashingAlgorithm>
| Modifier and Type | Method and Description |
|---|---|
static Optional<HashingAlgorithm> |
fromValue(String text) |
String |
getAlgorithmName() |
HashingService |
getHashingService() |
static HashingAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashingAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashingAlgorithm SHA256
public static final HashingAlgorithm SHA512
public static HashingAlgorithm[] values()
for (HashingAlgorithm c : HashingAlgorithm.values()) System.out.println(c);
public static HashingAlgorithm 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 String getAlgorithmName()
public HashingService getHashingService()
public static Optional<HashingAlgorithm> fromValue(String text)
Copyright © 2020. All rights reserved.