public enum HashAlgorithm extends Enum<HashAlgorithm>
Enum Constant and Description |
---|
SHA_256 |
SHA_256_120 |
SHA_256_128 |
SHA_256_32 |
SHA_256_64 |
SHA_256_96 |
SHA_3_224 |
SHA_3_256 |
SHA_3_384 |
SHA_3_512 |
SHA_384 |
SHA_512 |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Retrieve the integer idenx value.
|
String |
getName()
Retrieve the human-readable text value.
|
String |
getNamespace()
The namespace URI for the hash algorithm.
|
int |
getValueLength()
Retrieve the length in bits for the digest value.
|
static HashAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashAlgorithm SHA_256
public static final HashAlgorithm SHA_256_128
public static final HashAlgorithm SHA_256_120
public static final HashAlgorithm SHA_256_96
public static final HashAlgorithm SHA_256_64
public static final HashAlgorithm SHA_256_32
public static final HashAlgorithm SHA_384
public static final HashAlgorithm SHA_512
public static final HashAlgorithm SHA_3_224
public static final HashAlgorithm SHA_3_256
public static final HashAlgorithm SHA_3_384
public static final HashAlgorithm SHA_3_512
public static HashAlgorithm[] values()
for (HashAlgorithm c : HashAlgorithm.values()) System.out.println(c);
public static HashAlgorithm 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 int getIndex()
public String getName()
public int getValueLength()
public String getNamespace()
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.