public class NSEC3 extends Data
| Modifier and Type | Class and Description |
|---|---|
static class | NSEC3.HashAlgorithmDNSSEC NSEC3 Hash Algorithms. |
| Modifier and Type | Field and Description |
|---|---|
static byte | FLAG_OPT_OUTThis Flag indicates whether this NSEC3 RR may cover unsigned
delegations. |
byte | flagsBitmap of flags: FLAG_OPT_OUT. |
NSEC3.HashAlgorithm | hashAlgorithmThe cryptographic hash algorithm used. |
byte | hashAlgorithmByteThe byte value of the cryptographic hash algorithm used. |
int | iterationsThe number of iterations the hash algorithm is applied. |
List<Record.TYPE> | typesThe 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. |
NSEC3(byte hashAlgorithm,
byte flags,
int iterations,
byte[] salt,
byte[] nextHashed,
Record.TYPE... types)NSEC3. |
| Modifier and Type | Method and Description |
|---|---|
void | copySaltInto(byte[] dest,
int destPos)copySaltInto. |
byte[] | getNextHashed()getNextHashed. |
String | getNextHashedBase32()getNextHashedBase32. |
DnsLabel | getNextHashedDnsLabel()getNextHashedDnsLabel. |
byte[] | getSalt()getSalt. |
int | getSaltLength()getSaltLength. |
Record.TYPE | getType()getType. |
static NSEC3 | parse(DataInputStream dis,
int length)parse. |
void | serialize(DataOutputStream dos)serialize. |
String | toString()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()
public static NSEC3 parse(DataInputStream dis, int length) 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.