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, toOutputStreampublic final byte flags
public final NSEC3.HashAlgorithm hashAlgorithm
public final byte hashAlgorithmByte
public final int iterations
NSEC3PARAM(byte hashAlgorithm,
byte flags,
int iterations,
byte[] salt)
public int getSaltLength()
public Record.TYPE getType()
Datapublic static NSEC3PARAM parse(DataInputStream dis) 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.