|
|||||||||
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
public class DSRecord
DS - contains a Delegation Signer record, which acts as a placeholder for KEY records in the parent zone.
DNSSEC
Field Summary | |
---|---|
static byte |
SHA1_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 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 byte SHA1_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.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 |