Package org.xbill.DNS

Class ZoneMDRecord.Scheme

java.lang.Object
org.xbill.DNS.ZoneMDRecord.Scheme
Enclosing class:
ZoneMDRecord

public static final class ZoneMDRecord.Scheme extends Object
ZONEMD Schemes.
See Also:
  • Field Details

  • Method Details

    • string

      public static String string(int alg)
      Converts an algorithm into its textual representation
    • value

      public static int value(String s)
      Converts a textual representation of a scheme into its numeric code. Integers in the range 0..255 are also accepted.
      Parameters:
      s - The textual representation of the scheme.
      Returns:
      The algorithm code, or -1 for an unknown scheme.