(DNSOutput out, Compression c, boolean canonical)
| 193 | } |
| 194 | |
| 195 | void |
| 196 | rrToWire(DNSOutput out, Compression c, boolean canonical) { |
| 197 | alg.toWire(out, null, canonical); |
| 198 | |
| 199 | long time = timeSigned.getTime() / 1000; |
| 200 | int timeHigh = (int) (time >> 32); |
| 201 | long timeLow = (time & 0xFFFFFFFFL); |
| 202 | out.writeU16(timeHigh); |
| 203 | out.writeU32(timeLow); |
| 204 | out.writeU16(fudge); |
| 205 | |
| 206 | out.writeU16(signature.length); |
| 207 | out.writeByteArray(signature); |
| 208 | |
| 209 | out.writeU16(originalID); |
| 210 | out.writeU16(error); |
| 211 | |
| 212 | if (other != null) { |
| 213 | out.writeU16(other.length); |
| 214 | out.writeByteArray(other); |
| 215 | } |
| 216 | else |
| 217 | out.writeU16(0); |
| 218 | } |
| 219 | |
| 220 | } |
nothing calls this directly
no test coverage detected