public enum MessageDigest extends Enum<MessageDigest>
Enum Constant and Description |
---|
AEAD |
GOST89MAC |
GOST94 |
MD5 |
SHA1 |
SHA256 |
SHA384 |
Modifier and Type | Method and Description |
---|---|
static MessageDigest |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageDigest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageDigest MD5
public static final MessageDigest SHA1
public static final MessageDigest GOST94
public static final MessageDigest GOST89MAC
public static final MessageDigest SHA256
public static final MessageDigest SHA384
public static final MessageDigest AEAD
public static MessageDigest[] values()
for (MessageDigest c : MessageDigest.values()) System.out.println(c);
public static MessageDigest 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 nullCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.