public class DLVRecord extends Record
DNSSEC
,
DSRecord
,
RFC 4431: The DNSSEC Lookaside Validation
(DLV) DNS Resource Record,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
SHA1_DIGEST_ID
Deprecated.
|
static int |
SHA256_DIGEST_ID
Deprecated.
|
Constructor and Description |
---|
DLVRecord(Name name,
int dclass,
long ttl,
int footprint,
int alg,
int digestid,
byte[] digest)
Creates a DLV Record from the given data
|
Modifier and Type | Method and Description |
---|---|
int |
getAlgorithm()
Returns the key's algorithm.
|
byte[] |
getDigest()
Returns the binary hash of the key.
|
int |
getDigestID()
Returns the key's Digest ID.
|
int |
getFootprint()
Returns the key's footprint.
|
protected void |
rdataFromString(Tokenizer st,
Name origin)
Converts the text format of an RR to the internal format - must be overriden
|
protected void |
rrFromWire(DNSInput in)
Converts the type-specific RR to wire format - must be overridden
|
protected String |
rrToString()
Converts rdata to a String
|
protected void |
rrToWire(DNSOutput out,
Compression c,
boolean canonical)
Converts the type-specific RR to wire format - must be overridden.
|
byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName
@Deprecated public static final int SHA1_DIGEST_ID
DNSSEC.Digest.SHA1
@Deprecated public static final int SHA256_DIGEST_ID
DNSSEC.Digest.SHA256
public DLVRecord(Name name, int dclass, long ttl, int footprint, int alg, int digestid, byte[] digest)
footprint
- The original KEY record's footprint (keyid).alg
- The original key algorithm.digestid
- The digest id code.digest
- A hash of the original key.protected void rrFromWire(DNSInput in) throws IOException
Record
rrFromWire
in class Record
IOException
protected void rdataFromString(Tokenizer st, Name origin) throws IOException
Record
rdataFromString
in class Record
IOException
protected String rrToString()
rrToString
in class Record
public int getAlgorithm()
public int getDigestID()
public byte[] getDigest()
public int getFootprint()
protected void rrToWire(DNSOutput out, Compression c, boolean canonical)
Record
Copyright © 2022 dnsjava.org. All rights reserved.