public class NSEC3 extends Data
| 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(java.io.DataInputStream dis,
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 static final byte FLAG_OPT_OUT
public final NSEC3.HashAlgorithm hashAlgorithm
null.hashAlgorithmBytepublic 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(java.io.DataInputStream dis, 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