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.
|
List<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,
List<Record.TYPE> types) |
NSEC3(byte hashAlgorithm,
byte flags,
int iterations,
byte[] salt,
byte[] nextHashed,
Record.TYPE... types) |
| Modifier and Type | Method and Description |
|---|---|
void |
copySaltInto(byte[] dest,
int destPos) |
byte[] |
getNextHashed() |
String |
getNextHashedBase32() |
DnsLabel |
getNextHashedDnsLabel() |
byte[] |
getSalt() |
int |
getSaltLength() |
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, toOutputStreampublic static final byte FLAG_OPT_OUT
public final byte flags
FLAG_OPT_OUT.public final NSEC3.HashAlgorithm hashAlgorithm
null.hashAlgorithmBytepublic final byte hashAlgorithmByte
public final int iterations
public final List<Record.TYPE> types
public NSEC3(byte hashAlgorithm,
byte flags,
int iterations,
byte[] salt,
byte[] nextHashed,
List<Record.TYPE> types)
public NSEC3(byte hashAlgorithm,
byte flags,
int iterations,
byte[] salt,
byte[] nextHashed,
Record.TYPE... types)
public void copySaltInto(byte[] dest,
int destPos)
public byte[] getNextHashed()
public String getNextHashedBase32()
public DnsLabel getNextHashedDnsLabel()
public byte[] getSalt()
public int getSaltLength()
public Record.TYPE getType()
Datapublic static NSEC3 parse(DataInputStream dis, int length) throws IOException
IOExceptionpublic void serialize(DataOutputStream dos) throws IOException
Dataserialize in class Datados - the output stream to serialize to.IOException - if an I/O error occurs.