at.molindo.utils.data
Enum Hash.Algorithm
java.lang.Object
java.lang.Enum<Hash.Algorithm>
at.molindo.utils.data.Hash.Algorithm
- All Implemented Interfaces:
- Hash.IAlgorithm, Serializable, Comparable<Hash.Algorithm>
- Enclosing class:
- Hash
public static enum Hash.Algorithm
- extends Enum<Hash.Algorithm>
- implements Hash.IAlgorithm
MD2
public static final Hash.Algorithm MD2
MD5
public static final Hash.Algorithm MD5
SHA
public static final Hash.Algorithm SHA
SHA_256
public static final Hash.Algorithm SHA_256
SHA_384
public static final Hash.Algorithm SHA_384
SHA_512
public static final Hash.Algorithm SHA_512
values
public static Hash.Algorithm[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Hash.Algorithm c : Hash.Algorithm.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Hash.Algorithm valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getName
public String getName()
builder
public Hash.IHashBuilder builder()
- Specified by:
builder in interface Hash.IAlgorithm
Copyright © 2011 Molindo GmbH. All Rights Reserved.