public static enum DnssecConstants.DigestAlgorithm extends Enum<DnssecConstants.DigestAlgorithm>
| Enum Constant and Description |
|---|
GOSTGOST R 34.11-94 |
SHA1SHA-1 |
SHA256SHA-256 |
SHA384SHA-384 |
| Modifier and Type | Field and Description |
|---|---|
String | descriptionthe digest algorithm description |
byte | valuethe digest algorithm value |
| Modifier and Type | Method and Description |
|---|---|
static DnssecConstants.DigestAlgorithm | forByte(byte b)Look up a DigestAlgorithm by its byte value. |
static DnssecConstants.DigestAlgorithm | valueOf(String name)Returns the enum constant of this type with the specified name. |
static DnssecConstants.DigestAlgorithm[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final DnssecConstants.DigestAlgorithm GOST
public static final DnssecConstants.DigestAlgorithm SHA1
public static final DnssecConstants.DigestAlgorithm SHA256
public static final DnssecConstants.DigestAlgorithm SHA384
public final String description
public final byte value
public static DnssecConstants.DigestAlgorithm forByte(byte b)
b - the digest algorithm valuepublic static DnssecConstants.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 nameNullPointerException - if the argument is nullpublic static DnssecConstants.DigestAlgorithm[] values()
for (DnssecConstants.DigestAlgorithm c : DnssecConstants.DigestAlgorithm.values()) System.out.println(c);