Package org.xbill.DNS
Class DNSSEC.Algorithm
java.lang.Object
org.xbill.DNS.DNSSEC.Algorithm
- Enclosing class:
DNSSEC
Domain Name System Security (DNSSEC) Algorithm Numbers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDelete DS record in parent zone.static final intDiffie Hellman keystatic final intDSA public keystatic final intDSA/SHA1, NSEC3-aware public keystatic final intGOST R 34.10-2001.static final intGOST R 34.10-2012.static final intECDSA Curve P-256 with SHA-256 public key.static final intECDSA Curve P-384 with SHA-384 public key.static final intEdwards-Curve Digital Security Algorithm (EdDSA) for DNSSEC.static final intEdwards-Curve Digital Security Algorithm (EdDSA) for DNSSEC.static final intIndirect keys; the actual key is elsewhere.static final intPrivate algorithm, specified by domain namestatic final intPrivate algorithm, specified by OIDstatic final intRSA/SHA1, NSEC3-aware public keystatic final intRSA/MD5 public key (deprecated)static final intRSA/SHA1 public keystatic final intRSA/SHA256 public keystatic final intRSA/SHA512 public keystatic final intSM2 signing algorithm with SM3 hashing algorithm. -
Method Summary
-
Field Details
-
DELETE
public static final int DELETEDelete DS record in parent zone.- Since:
- 3.5
- See Also:
-
RSAMD5
public static final int RSAMD5RSA/MD5 public key (deprecated)- See Also:
-
DH
public static final int DHDiffie Hellman key- See Also:
-
DSA
public static final int DSADSA public key- See Also:
-
RSASHA1
public static final int RSASHA1RSA/SHA1 public key- See Also:
-
DSA_NSEC3_SHA1
public static final int DSA_NSEC3_SHA1DSA/SHA1, NSEC3-aware public key- See Also:
-
RSA_NSEC3_SHA1
public static final int RSA_NSEC3_SHA1RSA/SHA1, NSEC3-aware public key- See Also:
-
RSASHA256
public static final int RSASHA256RSA/SHA256 public key- See Also:
-
RSASHA512
public static final int RSASHA512RSA/SHA512 public key- See Also:
-
ECC_GOST
public static final int ECC_GOSTGOST R 34.10-2001. This requires an external cryptography provider, such as BouncyCastle.- See Also:
-
ECDSAP256SHA256
public static final int ECDSAP256SHA256ECDSA Curve P-256 with SHA-256 public key.- See Also:
-
ECDSAP384SHA384
public static final int ECDSAP384SHA384ECDSA Curve P-384 with SHA-384 public key.- See Also:
-
ED25519
public static final int ED25519Edwards-Curve Digital Security Algorithm (EdDSA) for DNSSEC.- See Also:
-
ED448
public static final int ED448Edwards-Curve Digital Security Algorithm (EdDSA) for DNSSEC.- See Also:
-
SM2SM3
public static final int SM2SM3SM2 signing algorithm with SM3 hashing algorithm.- Since:
- 3.6
- See Also:
-
ECC_GOST12
public static final int ECC_GOST12GOST R 34.10-2012.- Since:
- 3.6
- See Also:
-
INDIRECT
public static final int INDIRECTIndirect keys; the actual key is elsewhere.- See Also:
-
PRIVATEDNS
public static final int PRIVATEDNSPrivate algorithm, specified by domain name- See Also:
-
PRIVATEOID
public static final int PRIVATEOIDPrivate algorithm, specified by OID- See Also:
-
-
Method Details
-
string
Converts an algorithm into its textual representation -
value
Converts a textual representation of an algorithm into its numeric code. Integers in the range 0..255 are also accepted.- Parameters:
s- The textual representation of the algorithm- Returns:
- The algorithm code, or -1 on error.
-
check
public static void check(int val) Checks that a numeric value is within the range [0..max]
-