public static enum Crypto.HashType extends java.lang.Enum<Crypto.HashType>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Crypto.HashType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Crypto.HashType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Crypto.HashType MD5
public static final Crypto.HashType SHA1
public static final Crypto.HashType SHA256
public static final Crypto.HashType SHA512
public static Crypto.HashType[] values()
for (Crypto.HashType c : Crypto.HashType.values()) System.out.println(c);
public static Crypto.HashType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Crypto.HashType>
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly