|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.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| Fields inherited from class org.xbill.DNS.Record |
dclass,
name,
ttl,
type,
wireLength |
| Constructor Summary | |
TSIGRecord(Name _name,
short _dclass,
int _ttl,
Name _alg,
Date _timeSigned,
short _fudge,
byte[] _signature,
int _originalID,
short _error,
byte[] _other)
Creates a TSIG Record from the given data. |
|
| Method Summary | |
Name |
getAlgorithm()
Returns the shared key's algorithm |
short |
getError()
Returns the extended error |
short |
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 |
String |
toString()
Converts to a String |
| Methods inherited from class org.xbill.DNS.Record |
equals,
fromString,
fromWire,
getDClass,
getName,
getRRsetType,
getTTL,
getType,
getWireLength,
hashCode,
newRecord,
newRecord,
newRecord,
toWire,
toWireCanonical,
withName |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public TSIGRecord(Name _name,
short _dclass,
int _ttl,
Name _alg,
Date _timeSigned,
short _fudge,
byte[] _signature,
int _originalID,
short _error,
byte[] _other)
throws IOException
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 String toString()
public Name getAlgorithm()
public Date getTimeSigned()
public short getFudge()
public byte[] getSignature()
public int getOriginalID()
public short getError()
public byte[] getOther()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||