Enum SecurityStatus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<SecurityStatus>

    public enum SecurityStatus
    extends java.lang.Enum<SecurityStatus>
    Codes for DNSSEC security statuses.
    Author:
    davidb
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BOGUS
      BOGUS means that the object (RRset or message) failed to validate (according to local policy), but should have validated.
      INDETERMINATE
      INDTERMINATE means that the object is insecure, but not authoritatively so.
      INSECURE
      INSECURE means that the object is authoritatively known to be insecure.
      SECURE
      SECURE means that the object (RRset or message) validated according to local policy.
      UNCHECKED
      UNCHECKED means that object has yet to be validated.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SecurityStatus valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SecurityStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • UNCHECKED

        public static final SecurityStatus UNCHECKED
        UNCHECKED means that object has yet to be validated.
      • BOGUS

        public static final SecurityStatus BOGUS
        BOGUS means that the object (RRset or message) failed to validate (according to local policy), but should have validated.
      • INDETERMINATE

        public static final SecurityStatus INDETERMINATE
        INDTERMINATE means that the object is insecure, but not authoritatively so. Generally this means that the RRset is not below a configured trust anchor.
      • INSECURE

        public static final SecurityStatus INSECURE
        INSECURE means that the object is authoritatively known to be insecure. Generally this means that this RRset is below a trust anchor, but also below a verified, insecure delegation.
      • SECURE

        public static final SecurityStatus SECURE
        SECURE means that the object (RRset or message) validated according to local policy.
    • Method Detail

      • values

        public static SecurityStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SecurityStatus c : SecurityStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SecurityStatus valueOf​(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null