Modifier and Type | Class and Description |
---|---|
static class |
NSEC3.HashAlgorithm
DNSSEC NSEC3 Hash Algorithms.
|
Modifier and Type | Field and Description |
---|---|
static byte |
FLAG_OPT_OUT
This Flag indicates whether this NSEC3 RR may cover unsigned
delegations.
|
byte |
flags
Bitmap of flags:
FLAG_OPT_OUT . |
NSEC3.HashAlgorithm |
hashAlgorithm
The cryptographic hash algorithm used.
|
byte |
hashAlgorithmByte
The byte value of the cryptographic hash algorithm used.
|
int |
iterations
The number of iterations the hash algorithm is applied.
|
byte[] |
nextHashed
The next hashed owner name in hash order.
|
byte[] |
salt
The salt appended to the next owner name before hashing.
|
Record.TYPE[] |
types
The RR types existing at the original owner name.
|
Constructor and Description |
---|
NSEC3(byte hashAlgorithm,
byte flags,
int iterations,
byte[] salt,
byte[] nextHashed,
Record.TYPE[] types) |
Modifier and Type | Method and Description |
---|---|
Record.TYPE |
getType()
The payload type.
|
static NSEC3 |
parse(DataInputStream dis,
int length) |
void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
String |
toString() |
equals, hashCode, length, toByteArray, toOutputStream
public static final byte FLAG_OPT_OUT
public final NSEC3.HashAlgorithm hashAlgorithm
null
.hashAlgorithmByte
public final byte hashAlgorithmByte
public final byte flags
FLAG_OPT_OUT
.public final int iterations
public final byte[] salt
public final byte[] nextHashed
public final Record.TYPE[] types
public NSEC3(byte hashAlgorithm, byte flags, int iterations, byte[] salt, byte[] nextHashed, Record.TYPE[] types)
public static NSEC3 parse(DataInputStream dis, int length) throws IOException
IOException
public Record.TYPE getType()
Data
public void serialize(DataOutputStream dos) throws IOException
Data
serialize
in class Data
dos
- the output stream to serialize to.IOException
- if an I/O error occurs.