public class NSEC3PARAM extends Data
| Modifier and Type | Field and Description |
|---|---|
byte | flagsflags. |
NSEC3.HashAlgorithm | hashAlgorithmThe cryptographic hash algorithm used. |
byte | hashAlgorithmByteThe cryptographic hash algorithm used. |
int | iterationsThe number of iterations the hash algorithm is applied. |
| Constructor and Description |
|---|
NSEC3PARAM(byte hashAlgorithm,
byte flags,
int iterations,
byte[] salt)Create NSEC3PARAM |
| Modifier and Type | Method and Description |
|---|---|
int | getSaltLength()getSaltLength. |
Record.TYPE | getType()getType. |
static NSEC3PARAM | parse(DataInputStream dis)parse. |
void | serialize(DataOutputStream dos)serialize. |
String | toString()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()
public static NSEC3PARAM parse(DataInputStream dis) 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.