void
rrToWire(DNSOutput out, Compression c, boolean canonical) {
	out.writeU8(hashAlg);
	out.writeU8(flags);
	out.writeU16(iterations);

	if (salt != null) {
		out.writeU8(salt.length);
		out.writeByteArray(salt);
	} else
		out.writeU8(0);
}
Creates an NSEC3PARAM record from the given data.

@param name The ownername of the NSEC3PARAM record (generally the zone name).
@param dclass The class.
@param ttl The TTL.
@param hashAlg The hash algorithm.
@param flags The value of the flags field.
@param iterations The number of hash iterations.
@param salt The salt to use (may be null).
src/main/java/core/org/xbill/DNS/NSEC3PARAMRecord.java