org.xbill.DNS
Class NSECRecord
java.lang.Object
org.xbill.DNS.Record
org.xbill.DNS.NSECRecord
- All Implemented Interfaces:
- Cloneable, Comparable
public class NSECRecord
- extends Record
Next SECure name - this record contains the following name in an
ordered list of names in the zone, and a set of types for which
records exist for this name. The presence of this record in a response
signifies a negative response from a DNSSEC-signed zone.
This replaces the NXT record.
- Author:
- Brian Wellington, David Blacka
Constructor Summary |
NSECRecord(Name name,
int dclass,
long ttl,
Name next,
int[] types)
Creates an NSEC Record from the given data. |
Method Summary |
Name |
getNext()
Returns the next name |
int[] |
getTypes()
Returns the set of types defined for this name |
boolean |
hasType(int type)
Returns whether a specific type is in the set of types. |
Methods inherited from class org.xbill.DNS.Record |
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName |
NSECRecord
public NSECRecord(Name name,
int dclass,
long ttl,
Name next,
int[] types)
- Creates an NSEC Record from the given data.
- Parameters:
next
- The following name in an ordered list of the zonetypes
- An array containing the types present.
getNext
public Name getNext()
- Returns the next name
getTypes
public int[] getTypes()
- Returns the set of types defined for this name
hasType
public boolean hasType(int type)
- Returns whether a specific type is in the set of types.