void
rrFromWire(DNSInput in) throws IOException {
	alg = new Name(in);
	timeInception = new Date(1000 * in.readU32());
	timeExpire = new Date(1000 * in.readU32());
	mode = in.readU16();
	error = in.readU16();

	int keylen = in.readU16();
	if (keylen > 0)
		key = in.readByteArray(keylen);
	else
		key = null;

	int otherlen = in.readU16();
	if (otherlen > 0)
		other = in.readByteArray(otherlen);
	else
		other = null;
}
Creates a TKEY Record from the given data.
@param alg The shared key's algorithm
@param timeInception The beginning of the validity period of the shared
secret or keying material
@param timeExpire The end of the validity period of the shared
secret or keying material
@param mode The mode of key agreement
@param error The extended error field.  Should be 0 in queries
@param key The shared secret
@param other The other data field.  Currently unused
responses.
src/main/java/core/org/xbill/DNS/TKEYRecord.java