|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xbill.DNS.Record
org.xbill.DNS.DSRecord
DS - contains a Delegation Signer record, which acts as a placeholder for KEY records in the parent zone.
DNSSEC,
Serialized Form| Nested Class Summary | |
static class |
DSRecord.Digest
|
| Field Summary | |
static int |
SHA1_DIGEST_ID
|
static int |
SHA256_DIGEST_ID
|
| Fields inherited from class org.xbill.DNS.Record |
dclass, name, ttl, type |
| Constructor Summary | |
DSRecord(Name name,
int dclass,
long ttl,
int footprint,
int digestid,
DNSKEYRecord key)
Creates a DS Record from the given data |
|
DSRecord(Name name,
int dclass,
long ttl,
int footprint,
int alg,
int digestid,
byte[] digest)
Creates a DS Record from the given data |
|
| Method Summary | |
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. |
| Methods inherited from class org.xbill.DNS.Record |
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 |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SHA1_DIGEST_ID
public static final int SHA256_DIGEST_ID
| Constructor Detail |
public DSRecord(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.
public DSRecord(Name name,
int dclass,
long ttl,
int footprint,
int digestid,
DNSKEYRecord key)
footprint - The original KEY record's footprint (keyid).digestid - The digest id code.key - The key to digest| Method Detail |
public int getAlgorithm()
public int getDigestID()
public byte[] getDigest()
public int getFootprint()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||