public class NSEC3PARAM extends Data
Modifier and Type | Field and Description |
---|---|
byte |
flags |
NSEC3.HashAlgorithm |
hashAlgorithm
The cryptographic hash algorithm used.
|
byte |
hashAlgorithmByte
The cryptographic hash algorithm used.
|
int |
iterations
The number of iterations the hash algorithm is applied.
|
Constructor and Description |
---|
NSEC3PARAM(byte hashAlgorithm,
byte flags,
int iterations,
byte[] salt) |
Modifier and Type | Method and Description |
---|---|
int |
getSaltLength() |
Record.TYPE |
getType()
The payload type.
|
static NSEC3PARAM |
parse(DataInputStream dis) |
void |
serialize(DataOutputStream dos)
The internal method used to serialize Data subclasses.
|
String |
toString() |
equals, hashCode, length, toByteArray, toOutputStream, toOutputStream
public final NSEC3.HashAlgorithm hashAlgorithm
public final byte hashAlgorithmByte
public final byte flags
public final int iterations
NSEC3PARAM(byte hashAlgorithm, byte flags, int iterations, byte[] salt)
public static NSEC3PARAM parse(DataInputStream dis) 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.public int getSaltLength()