(DNSOutput out, SIGBase sig)
| 117 | DNSSEC() { } |
| 118 | |
| 119 | private static void |
| 120 | digestSIG(DNSOutput out, SIGBase sig) { |
| 121 | out.writeU16(sig.getTypeCovered()); |
| 122 | out.writeU8(sig.getAlgorithm()); |
| 123 | out.writeU8(sig.getLabels()); |
| 124 | out.writeU32(sig.getOrigTTL()); |
| 125 | out.writeU32(sig.getExpire().getTime() / 1000); |
| 126 | out.writeU32(sig.getTimeSigned().getTime() / 1000); |
| 127 | out.writeU16(sig.getFootprint()); |
| 128 | sig.getSigner().toWireCanonical(out); |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Creates a byte array containing the concatenation of the fields of the |
no test coverage detected