public static enum Identity.Encoding extends java.lang.Enum<Identity.Encoding>
Enum Constant and Description |
---|
MD5
Trimmed, converted to lower case, and hashed by MD5
|
RAW
No encoding applied
|
SHA1
Trimmed, converted to lower case, and hashed by SHA-1
|
SHA256
Trimmed, converted to lower case, and hashed by SHA-256
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Identity.Encoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Identity.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Identity.Encoding RAW
public static final Identity.Encoding MD5
public static final Identity.Encoding SHA1
public static final Identity.Encoding SHA256
public static Identity.Encoding[] values()
for (Identity.Encoding c : Identity.Encoding.values()) System.out.println(c);
public static Identity.Encoding 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<Identity.Encoding>