Package org.minidns.constants
Enum DnssecConstants.SignatureAlgorithm
java.lang.Object
java.lang.Enum<DnssecConstants.SignatureAlgorithm>
org.minidns.constants.DnssecConstants.SignatureAlgorithm
- All Implemented Interfaces:
Serializable
,Comparable<DnssecConstants.SignatureAlgorithm>
,java.lang.constant.Constable
- Enclosing class:
- DnssecConstants
public static enum DnssecConstants.SignatureAlgorithm extends Enum<DnssecConstants.SignatureAlgorithm>
DNSSEC Signature Algorithms.
- See Also:
- IANA DNSSEC Algorithm Numbers
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description DH
DSA
DSA_NSEC3_SHA1
ECC_GOST
ECDSAP256SHA256
ECDSAP384SHA384
INDIRECT
PRIVATEDNS
PRIVATEOID
RSAMD5
Deprecated.RSASHA1
RSASHA1_NSEC3_SHA1
RSASHA256
RSASHA512
-
Field Summary
Fields Modifier and Type Field Description String
description
byte
number
-
Method Summary
Modifier and Type Method Description static DnssecConstants.SignatureAlgorithm
forByte(byte b)
static DnssecConstants.SignatureAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static DnssecConstants.SignatureAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Field Details
-
number
public final byte number -
description
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forByte
-