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

Method verify

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

Verifies the data (computes the secure hash and compares it to the input) @param mac The HMAC generator @param signature The signature to compare against @return true if the signature matches, false otherwise

(Mac mac, byte [] signature)

Source from the content-addressed store, hash-verified

94 * @return true if the signature matches, false otherwise
95 */
96private static boolean
97verify(Mac mac, byte [] signature) {
98 return verify(mac, signature, false);
99}
100
101/**
102 * Verifies the data (computes the secure hash and compares it to the input)

Callers 2

generateReplyMethod · 0.95
verifyMethod · 0.95

Calls 15

getAlgorithmMethod · 0.95
checkMethod · 0.95
getTimeSignedMethod · 0.95
getFudgeMethod · 0.95
getErrorMethod · 0.95
writeU16Method · 0.95
toByteArrayMethod · 0.95
writeU32Method · 0.95
getOtherMethod · 0.95
writeByteArrayMethod · 0.95
getSignatureMethod · 0.95
getTSIGMethod · 0.80

Tested by

no test coverage detected