public static enum Dns.SigData.Algorithm extends Enum<Dns.SigData.Algorithm> implements ProtocolEnum
| Enum Constant and Description |
|---|
RSA_SHA1
Default algorithm type: RSA/SHA1.
|
| Modifier and Type | Method and Description |
|---|---|
int |
code()
Returns the code value for the enumeration constant.
|
static Dns.SigData.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dns.SigData.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dns.SigData.Algorithm RSA_SHA1
public static Dns.SigData.Algorithm[] values()
for (Dns.SigData.Algorithm c : Dns.SigData.Algorithm.values()) System.out.println(c);
public static Dns.SigData.Algorithm 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 code()
ProtocolEnumcode in interface ProtocolEnumCopyright © 2014. All Rights Reserved.