org.xbill.DNS
Class TSIG.StreamVerifier

java.lang.Object
  extended by org.xbill.DNS.TSIG.StreamVerifier
Enclosing class:
TSIG

public static class TSIG.StreamVerifier
extends Object


Constructor Summary
TSIG.StreamVerifier(TSIG tsig, TSIGRecord old)
          Creates an object to verify a multiple message response
 
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
 

Constructor Detail

TSIG.StreamVerifier

public TSIG.StreamVerifier(TSIG tsig,
                           TSIGRecord old)
Creates an object to verify a multiple message response

Method Detail

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.

Parameters:
m - The message
b - The message in unparsed form
Returns:
The result of the verification (as an Rcode)
See Also:
Rcode