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.SignatureAlgorithmextends Enum<DnssecConstants.SignatureAlgorithm>
DNSSEC Signature Algorithms.
- See Also:
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDiffie-HellmanDSA/SHA1DSA NSEC3 SHA1GOST R 34.10-2001ECDSA Curve P-256 with SHA-256ECDSA Curve P-384 with SHA-384Reserved for Indirect Keysprivate algorithmprivate algorithm oidRSA/SHA-1RSASHA1 NSEC3 SHA1RSA/SHA-256RSA/SHA-512Field Summary
FieldsModifier and TypeFieldDescriptionfinal Stringthe algorithm descriptionfinal bytethe algorithm numberConstructor Summary
ConstructorsModifierConstructorDescriptionprivateSignatureAlgorithm(int number, String description) Names an algorithm by its wire number.Method Summary
All MethodsModifier and TypeMethodDescriptionforByte(byte b) Look up a SignatureAlgorithm by its byte value.Returns the enum constant of this class with the specified name.static DnssecConstants.SignatureAlgorithm[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
DH
Diffie-HellmanDSA
DSA/SHA1RSASHA1
RSA/SHA-1DSA_NSEC3_SHA1
DSA NSEC3 SHA1RSASHA1_NSEC3_SHA1
RSASHA1 NSEC3 SHA1RSASHA256
RSA/SHA-256RSASHA512
RSA/SHA-512ECC_GOST
GOST R 34.10-2001ECDSAP256SHA256
ECDSA Curve P-256 with SHA-256ECDSAP384SHA384
ECDSA Curve P-384 with SHA-384INDIRECT
Reserved for Indirect KeysPRIVATEDNS
private algorithmPRIVATEOID
private algorithm oid
Field Details
number
public final byte numberthe algorithm numberdescription
the algorithm description
Constructor Details
SignatureAlgorithm
Names an algorithm by its wire number.- Parameters:
number- the number on the wiredescription- the human-readable name
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
forByte
Look up a SignatureAlgorithm by its byte value.- Parameters:
b- the algorithm number- Returns:
- the matching SignatureAlgorithm, or null if not found