Package org.minidns.record
Class NSEC
java.lang.Object
org.minidns.record.Data
org.minidns.record.NSEC
NSEC record payload.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal DnsNameThe next owner name that contains a authoritative data or a delegation point.final List<Record.TYPE>The RR types existing at the owner name. -
Constructor Summary
ConstructorsConstructorDescriptionNSEC(String next, List<Record.TYPE> types) NSEC(String next, Record.TYPE... types) NSEC(DnsName next, List<Record.TYPE> types) -
Method Summary
Modifier and TypeMethodDescription(package private) static byte[]createTypeBitMap(List<Record.TYPE> types) getType()The payload type.static NSECparse(DataInputStream dis, byte[] data, int length) (package private) static List<Record.TYPE>readTypeBitMap(byte[] typeBitmap) voidThe internal method used to serialize Data subclasses.toString()Methods inherited from class org.minidns.record.Data
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
-
Field Details
-
next
The next owner name that contains a authoritative data or a delegation point. -
types
The RR types existing at the owner name.
-
-
Constructor Details
-
NSEC
-
NSEC
-
NSEC
-
-
Method Details
-
parse
- Throws:
IOException
-
getType
Description copied from class:DataThe payload type. -
serialize
Description copied from class:DataThe internal method used to serialize Data subclasses.- Specified by:
serializein classData- Parameters:
dos- the output stream to serialize to.- Throws:
IOException- if an I/O error occurs.
-
toString
-
createTypeBitMap
-
readTypeBitMap
- Throws:
IOException
-