public enum DigestType extends Enum<DigestType>
| Enum Constant and Description |
|---|
MD5
MD5
|
SHA1
SHA-1
|
SHA256
SHA 256
|
SHA384
SHA 386
|
SHA512
SHA 512
|
| Modifier and Type | Method and Description |
|---|---|
static DigestType |
fromValue(String v) |
String |
getName() |
static DigestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DigestType MD5
public static final DigestType SHA1
public static final DigestType SHA256
public static final DigestType SHA384
public static final DigestType SHA512
public static DigestType[] values()
for (DigestType c : DigestType.values()) System.out.println(c);
public static DigestType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
public static DigestType fromValue(String v)
v - the value to getCopyright © 2020 Vitam. All rights reserved.