public class NSEC extends Data
| Modifier and Type | Field and Description |
|---|---|
DnsName |
next
The next owner name that contains a authoritative data or a delegation point.
|
List<Record.TYPE> |
types
The RR types existing at the owner name.
|
| Constructor and Description |
|---|
NSEC(DnsName next,
List<Record.TYPE> types) |
NSEC(String next,
List<Record.TYPE> types) |
NSEC(String next,
Record.TYPE... types) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static byte[] |
createTypeBitMap(List<Record.TYPE> types) |
Record.TYPE |
getType()
The payload type.
|
static NSEC |
parse(DataInputStream dis,
byte[] data,
int length) |
(package private) static List<Record.TYPE> |
readTypeBitMap(byte[] typeBitmap) |
void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
String |
toString() |
equals, hashCode, length, toByteArray, toOutputStream, toOutputStreampublic final DnsName next
public final List<Record.TYPE> types
public NSEC(DnsName next, List<Record.TYPE> types)
public NSEC(String next, List<Record.TYPE> types)
public NSEC(String next, Record.TYPE... types)
static byte[] createTypeBitMap(List<Record.TYPE> types)
public Record.TYPE getType()
Datapublic static NSEC parse(DataInputStream dis, byte[] data, int length) throws IOException
IOExceptionstatic List<Record.TYPE> readTypeBitMap(byte[] typeBitmap) throws IOException
IOExceptionpublic void serialize(DataOutputStream dos) throws IOException
Dataserialize in class Datados - the output stream to serialize to.IOException - if an I/O error occurs.