public class NSEC extends Data
| Modifier and Type | Field and Description |
|---|---|
DnsName | nextThe next owner name that contains a authoritative data or a delegation point. |
List<Record.TYPE> | typesThe RR types existing at the owner name. |
| Constructor and Description |
|---|
NSEC(DnsName next,
List<Record.TYPE> types)NSEC. |
NSEC(String next,
List<Record.TYPE> types)NSEC. |
NSEC(String next,
Record.TYPE... types)NSEC. |
| Modifier and Type | Method and Description |
|---|---|
(package private) static byte[] | createTypeBitMap(List<Record.TYPE> types)Create type bitmap |
Record.TYPE | getType()getType. |
static NSEC | parse(DataInputStream dis,
byte[] data,
int length)parse. |
(package private) static List<Record.TYPE> | readTypeBitMap(byte[] typeBitmap)Read type bitmap |
void | serialize(DataOutputStream dos)serialize. |
String | toString()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()
public 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
serialize in class Datados - the output stream to serialize to.IOException - if an I/O error occurs.