|
||||||||||
| 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.TSIGRecord
Transaction Signature - this record is automatically generated by the resolver. TSIG records provide transaction security between the sender and receiver of a message, using a shared key.
Resolver,
TSIG| Field Summary |
| Fields inherited from class org.xbill.DNS.Record |
dclass, name, ttl, type |
| Constructor Summary | |
TSIGRecord(Name name,
int dclass,
long ttl,
Name alg,
Date timeSigned,
int fudge,
byte[] signature,
int originalID,
int error,
byte[] other)
Creates a TSIG Record from the given data. |
|
| Method Summary | |
Name |
getAlgorithm()
Returns the shared key's algorithm |
int |
getError()
Returns the extended error |
int |
getFudge()
Returns the time fudge factor |
int |
getOriginalID()
Returns the original message ID |
byte[] |
getOther()
Returns the other data |
byte[] |
getSignature()
Returns the signature |
Date |
getTimeSigned()
Returns the time that this record was generated |
| 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, toString, toWire, toWireCanonical, unknownToString, withName |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TSIGRecord(Name name,
int dclass,
long ttl,
Name alg,
Date timeSigned,
int fudge,
byte[] signature,
int originalID,
int error,
byte[] other)
alg - The shared key's algorithmtimeSigned - The time that this record was generatedfudge - The fudge factor for time - if the time that the message is
received is not in the range [now - fudge, now + fudge], the signature
failssignature - The signatureoriginalID - The message ID at the time of its generationerror - The extended error field. Should be 0 in queries.other - The other data field. Currently used only in BADTIME
responses.TSIG| Method Detail |
public Name getAlgorithm()
public Date getTimeSigned()
public int getFudge()
public byte[] getSignature()
public int getOriginalID()
public int getError()
public byte[] getOther()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||