public static enum Hash.Algorithm extends Enum<Hash.Algorithm> implements Hash.IAlgorithm
| Enum Constant and Description |
|---|
MD2 |
MD5 |
SHA |
SHA_256 |
SHA_384 |
SHA_512 |
| Modifier and Type | Method and Description |
|---|---|
Hash.IHashBuilder |
builder() |
String |
getName() |
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 MD2
public static final Hash.Algorithm MD5
public static final Hash.Algorithm SHA
public static final Hash.Algorithm SHA_256
public static final Hash.Algorithm SHA_384
public static final Hash.Algorithm SHA_512
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 getName()
public Hash.IHashBuilder builder()
builder in interface Hash.IAlgorithmCopyright © 2014 Molindo GmbH. All Rights Reserved.