|
|||||||||
| 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.TKEYRecord
Transaction Key - used to compute and/or securely transport a shared secret to be used with TSIG.
TSIG| Field Summary | |
static short |
DELETE
The key should be deleted |
static short |
DIFFIEHELLMAN
The key is computed using a Diffie-Hellman key exchange |
static short |
GSSAPI
The key is computed using GSS_API (unimplemented) |
static short |
RESOLVERASSIGNED
The key is assigned by the resolver (unimplemented) |
static short |
SERVERASSIGNED
The key is assigned by the server (unimplemented) |
| Fields inherited from class org.xbill.DNS.Record |
dclass,
name,
ttl,
type,
wireLength |
| Constructor Summary | |
TKEYRecord(Name _name,
short _dclass,
int _ttl,
Name _alg,
Date _timeInception,
Date _timeExpire,
short _mode,
short _error,
byte[] _key,
byte[] _other)
Creates a TKEY Record from the given data. |
|
| Method Summary | |
Name |
getAlgorithm()
Returns the shared key's algorithm |
short |
getError()
Returns the extended error |
byte[] |
getKey()
Returns the shared secret or keying material |
short |
getMode()
Returns the key agreement mode |
byte[] |
getOther()
Returns the other data |
Date |
getTimeExpire()
Returns the end of the validity period of the shared secret or keying material |
Date |
getTimeInception()
Returns the beginning of the validity period of the shared secret or keying material |
protected String |
modeString()
|
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 |
| Field Detail |
public static final short SERVERASSIGNED
public static final short DIFFIEHELLMAN
public static final short GSSAPI
public static final short RESOLVERASSIGNED
public static final short DELETE
| Constructor Detail |
public TKEYRecord(Name _name,
short _dclass,
int _ttl,
Name _alg,
Date _timeInception,
Date _timeExpire,
short _mode,
short _error,
byte[] _key,
byte[] _other)
throws IOException
alg - The shared key's algorithmtimeInception - The beginning of the validity period of the shared
secret or keying materialtimeExpire - The end of the validity period of the shared
secret or keying materialmode - The mode of key agreementerror - The extended error field. Should be 0 in querieskey - The shared secretother - The other data field. Currently unused
responses.| Method Detail |
protected String modeString()
public String toString()
public Name getAlgorithm()
public Date getTimeInception()
public Date getTimeExpire()
public short getMode()
public short getError()
public byte[] getKey()
public byte[] getOther()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||