public static enum Hash.Algorithm extends Enum<Hash.Algorithm>
| Enum Constant and Description |
|---|
SHA256
SHA256("sha256", 44).
|
SHA384
SHA384("sha384", 64).
|
SHA512
SHA512("sha512", 88).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
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
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 int getLength()
public String toString()
toString in class Enum<Hash.Algorithm>Copyright © 2023 HtmlUnit. All rights reserved.