public class DLV extends DelegatingDnssecRR
DelegatingDnssecRR.SharedDataalgorithm, algorithmByte, digest, digestType, digestTypeByte, keyTag| Constructor and Description |
|---|
DLV(int keyTag,
byte algorithm,
byte digestType,
byte[] digest)Create a DLV record. |
DLV(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
DnssecConstants.DigestAlgorithm digestType,
byte[] digest)Create a DLV record with typed algorithms. |
| Modifier and Type | Method and Description |
|---|---|
Record.TYPE | getType()The payload type. |
static DLV | parse(DataInputStream dis,
int length)Parse a DLV record from a data stream. |
digestEquals, getDigestBigInteger, getDigestHex, parseSharedData, serialize, toStringequals, hashCode, length, toByteArray, toOutputStream, toOutputStreampublic DLV(int keyTag,
byte algorithm,
byte digestType,
byte[] digest)keyTag - the key tagalgorithm - the signature algorithmdigestType - the digest algorithmdigest - the digest datapublic DLV(int keyTag,
DnssecConstants.SignatureAlgorithm algorithm,
DnssecConstants.DigestAlgorithm digestType,
byte[] digest)keyTag - the key tagalgorithm - the signature algorithmdigestType - the digest algorithmdigest - the digest datapublic Record.TYPE getType()
Datapublic static DLV parse(DataInputStream dis, int length) throws IOException
dis - the data input streamlength - the record lengthIOException - if parsing fails