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

Method recordLength

src/main/java/core/org/xbill/DNS/TSIG.java:535–543  ·  view source on GitHub ↗

Returns the maximum length of a TSIG record generated by this key. @see TSIGRecord

()

Source from the content-addressed store, hash-verified

533 * @see TSIGRecord
534 */
535public int
536recordLength() {
537 return (name.length() + 10 +
538 alg.length() +
539 8 + // time signed, fudge
540 18 + // 2 byte MAC length, 16 byte MAC
541 4 + // original id, error
542 8); // 2 byte error length, 6 byte max error field.
543}
544
545public static class StreamVerifier {
546 /**

Callers 1

toWireMethod · 0.80

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected