void
rrToWire(DNSOutput out, Compression c, boolean canonical) {
	out.writeU16(flags);
	out.writeU8(proto);
	out.writeU8(alg);
	if (key != null)
		out.writeByteArray(key);
}
Returns a PublicKey corresponding to the data in this key.
@throws DNSSEC.DNSSECException The key could not be converted.
src/main/java/core/org/xbill/DNS/KEYBase.java