at.molindo.utils.data
Enum Hash.Algorithm

java.lang.Object
  extended by java.lang.Enum<Hash.Algorithm>
      extended by 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


Enum Constant Summary
MD2
           
MD5
           
SHA
           
SHA_256
           
SHA_384
           
SHA_512
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.