MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / digestSIG

Method digestSIG

src/main/java/core/org/xbill/DNS/DNSSEC.java:119–129  ·  view source on GitHub ↗
(DNSOutput out, SIGBase sig)

Source from the content-addressed store, hash-verified

117DNSSEC() { }
118
119private static void
120digestSIG(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

Callers 4

digestRRsetMethod · 0.95
digestMessageMethod · 0.95
signMessageMethod · 0.95
verifyMessageMethod · 0.95

Calls 12

writeU16Method · 0.80
getTypeCoveredMethod · 0.80
writeU8Method · 0.80
getLabelsMethod · 0.80
writeU32Method · 0.80
getOrigTTLMethod · 0.80
getSignerMethod · 0.80
getAlgorithmMethod · 0.45
getExpireMethod · 0.45
getTimeSignedMethod · 0.45
getFootprintMethod · 0.45
toWireCanonicalMethod · 0.45

Tested by

no test coverage detected