|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DigestValue.DigestAlgorithm>
eu.scape_project.core.api.DigestValue.DigestAlgorithm
public static enum DigestValue.DigestAlgorithm
Enum to identify the java supported digest algorithms. The name field is used to identify the algorithm for java.security.MessageDigest. The list isn't supposed to be authoritative but was grabbed by the code in the DigestUtilities class that lists the providers and algorithms.
Enum Constant Summary | |
---|---|
MD2
MD5 algorithm identifier |
|
MD5
MD5 algorithm identifier |
|
SHA
SHA algorithm identifier |
|
SHA1
SHA1 algorithm identifier |
|
SHA256
SHA256 algorithm identifier |
|
SHA384
SHA384 algorithm identifier |
|
SHA512
SHA512 algorithm identifier |
Field Summary | |
---|---|
static String |
ALGID_URI_PREFIX
SCAPE algorithm id URI scheme prefix |
Method Summary | |
---|---|
URI |
getId()
|
String |
getJavaName()
|
static DigestValue.DigestAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DigestValue.DigestAlgorithm[] |
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 |
---|
public static final DigestValue.DigestAlgorithm MD2
public static final DigestValue.DigestAlgorithm MD5
public static final DigestValue.DigestAlgorithm SHA
public static final DigestValue.DigestAlgorithm SHA1
public static final DigestValue.DigestAlgorithm SHA256
public static final DigestValue.DigestAlgorithm SHA384
public static final DigestValue.DigestAlgorithm SHA512
Field Detail |
---|
public static final String ALGID_URI_PREFIX
Method Detail |
---|
public static DigestValue.DigestAlgorithm[] values()
for (DigestValue.DigestAlgorithm c : DigestValue.DigestAlgorithm.values()) System.out.println(c);
public static DigestValue.DigestAlgorithm valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic final String getJavaName()
public final URI getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |