data = buildDH((DHPublicKey) key);
buildRecord(Name name, int dclass, long ttl, int flags, int proto,	    PublicKey key){	byte [] data;	byte alg;	if (key instanceof RSAPublicKey) {		alg = DNSSEC.RSAMD5;		data = buildRSA((RSAPublicKey) key);	}	else if (key instanceof DHPublicKey) {		alg = DNSSEC.DH;		data = buildDH((DHPublicKey) key);	}	else if (key instanceof DSAPublicKey) {		alg = DNSSEC.DSA;		data = buildDSA((DSAPublicKey) key);	}	else		return null;	if (data == null)		return null;	return new KEYRecord(name, dclass, ttl, flags, proto, alg, data);}