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.
|
Record.TYPE[] |
types
The RR types existing at the owner name.
|
| Constructor and Description |
|---|
NSEC(DnsName next,
Record.TYPE[] types) |
NSEC(java.lang.String next,
Record.TYPE[] types) |
| Modifier and Type | Method and Description |
|---|---|
Record.TYPE |
getType()
The payload type.
|
static NSEC |
parse(java.io.DataInputStream dis,
byte[] data,
int length) |
void |
serialize(java.io.DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
java.lang.String |
toString() |
equals, hashCode, length, toByteArray, toOutputStreampublic final DnsName next
public final Record.TYPE[] types
public NSEC(java.lang.String next,
Record.TYPE[] types)
public NSEC(DnsName next, Record.TYPE[] types)
public static NSEC parse(java.io.DataInputStream dis, byte[] data, int length) throws java.io.IOException
java.io.IOExceptionpublic Record.TYPE getType()
Datapublic void serialize(java.io.DataOutputStream dos)
throws java.io.IOException
Datapublic java.lang.String toString()
toString in class java.lang.Object