Class NSEC


  • public class NSEC
    extends Data
    NSEC record payload.
    • Field Detail

      • next

        public final DnsName next
        The next owner name that contains a authoritative data or a delegation point.
      • types

        public final java.util.List<Record.TYPE> types
        The RR types existing at the owner name.
    • Method Detail

      • parse

        public static NSEC parse​(java.io.DataInputStream dis,
                                 byte[] data,
                                 int length)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • serialize

        public void serialize​(java.io.DataOutputStream dos)
                       throws java.io.IOException
        Description copied from class: Data
        The internal method used to serialize Data subclasses.
        Specified by:
        serialize in class Data
        Parameters:
        dos - the output stream to serialize to.
        Throws:
        java.io.IOException - if an I/O error occurs.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object