public static enum Hash.Algorithm extends Enum<Hash.Algorithm>
| Modifier and Type | Field and Description |
|---|---|
int |
length |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Hash.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Hash.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hash.Algorithm SHA256
public static final Hash.Algorithm SHA384
public static final Hash.Algorithm SHA512
@Nonnull public final int length
public static Hash.Algorithm[] values()
for (Hash.Algorithm c : Hash.Algorithm.values()) System.out.println(c);
public static Hash.Algorithm 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 toString()
toString in class Enum<Hash.Algorithm>Copyright © 2020. All rights reserved.