public enum DigestMethod extends java.lang.Enum<DigestMethod>
Enum Constant and Description |
---|
RIPEMD160
The
RIPEMD-160 digest method algorithm URI.
|
SHA1
The
SHA1 digest method algorithm URI.
|
SHA256
The
SHA256 digest method algorithm URI.
|
SHA512
The
SHA512 digest method algorithm URI.
|
Modifier and Type | Method and Description |
---|---|
static DigestMethod |
fromUrn(java.lang.String digestAlgorithm) |
java.lang.String |
toString() |
static DigestMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DigestMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigestMethod SHA1
public static final DigestMethod SHA256
public static final DigestMethod SHA512
public static final DigestMethod RIPEMD160
public static DigestMethod[] values()
for (DigestMethod c : DigestMethod.values()) System.out.println(c);
public static DigestMethod 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 static DigestMethod fromUrn(java.lang.String digestAlgorithm)
public java.lang.String toString()
toString
in class java.lang.Enum<DigestMethod>