org.xbill.DNS
Class TSIG.StreamVerifier
java.lang.Object
org.xbill.DNS.TSIG.StreamVerifier
- Enclosing class:
- TSIG
public static class TSIG.StreamVerifier
- extends Object
Method Summary |
int |
verify(Message m,
byte[] b)
Verifies a TSIG record on an incoming message that is part of a
multiple message response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TSIG.StreamVerifier
public TSIG.StreamVerifier(TSIG tsig,
TSIGRecord old)
- Creates an object to verify a multiple message response
verify
public int verify(Message m,
byte[] b)
- Verifies a TSIG record on an incoming message that is part of a
multiple message response.
TSIG records must be present on the first and last messages, and
at least every 100 records in between.
After calling this routine, Message.isVerified() may be called on
this message.
- Parameters:
m
- The messageb
- The message in unparsed form
- Returns:
- The result of the verification (as an Rcode)
- See Also:
Rcode