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 DHDSADSA_NSEC3_SHA1ECC_GOSTECDSAP256SHA256ECDSAP384SHA384INDIRECTPRIVATEDNSPRIVATEOIDRSAMD5Deprecated.RSASHA1RSASHA1_NSEC3_SHA1RSASHA256RSASHA512 -
Field Summary
Fields Modifier and Type Field Description Stringdescriptionbytenumber -
Method Summary
Modifier and Type Method Description static DnssecConstants.SignatureAlgorithmforByte(byte b)static DnssecConstants.SignatureAlgorithmvalueOf(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
-